mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
ssh kitten: Run bash as a login shell
This fell through the cracks in the rewrite for automatic shell integration. Fixes #5130
This commit is contained in:
parent
02d5b3eafa
commit
e6844ad6f2
2 changed files with 4 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ exec_bash_with_integration() {
|
|||
export HISTFILE="$HOME/.bash_history"
|
||||
export KITTY_BASH_UNEXPORT_HISTFILE="1"
|
||||
fi
|
||||
exec "$login_shell" "--posix"
|
||||
exec "$login_shell" "--login" "--posix"
|
||||
}
|
||||
|
||||
exec_with_shell_integration() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue