update where shell starts and add override -home setting
This commit is contained in:
@@ -67,7 +67,7 @@ func getOrCreate(id string) *Session {
|
||||
} else {
|
||||
cmd = exec.Command("/bin/bash", "-i")
|
||||
}
|
||||
cmd.Dir = initialCwd
|
||||
cmd.Dir = shellHome
|
||||
|
||||
// Build environment: inherit parent env but force TERM so that bash readline
|
||||
// correctly decodes modifier+cursor sequences (Shift+Arrow etc.).
|
||||
|
||||
Reference in New Issue
Block a user