update where shell starts and add override -home setting

This commit is contained in:
2026-05-24 09:17:21 +00:00
parent ade413bac7
commit 6318643c25
7 changed files with 39 additions and 23 deletions
+1 -1
View File
@@ -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.).