mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-11 18:23:20 +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
|
|
@ -39,6 +39,9 @@ Detailed list of changes
|
|||
|
||||
- Fix a bug that caused :opt:`macos_colorspace` to always be ``default`` regardless of its actual value (:iss:`5129`)
|
||||
|
||||
- ssh kitten: Fix bash not being executed as a login shell since kitty 0.25.0 (:iss:`5130`)
|
||||
|
||||
|
||||
0.25.1 [2022-05-26]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -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