mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
...
This commit is contained in:
@@ -155,7 +155,7 @@ if [ "$tty_ok" = "y" ]; then
|
|||||||
# clear current line as it might have things echoed on it from leading_data
|
# clear current line as it might have things echoed on it from leading_data
|
||||||
# because we only turn off echo in this script whereas the leading bytes could
|
# because we only turn off echo in this script whereas the leading bytes could
|
||||||
# have been sent before the script had a chance to run
|
# have been sent before the script had a chance to run
|
||||||
printf "\r\033[K"
|
printf "\r\033[K" > /dev/tty
|
||||||
fi
|
fi
|
||||||
shell_integration_dir="$data_dir/shell-integration"
|
shell_integration_dir="$data_dir/shell-integration"
|
||||||
[ -f "$HOME/.terminfo/kitty.terminfo" ] || die "Incomplete extraction of ssh data";
|
[ -f "$HOME/.terminfo/kitty.terminfo" ] || die "Incomplete extraction of ssh data";
|
||||||
@@ -283,8 +283,7 @@ exec_bash_with_integration() {
|
|||||||
exec_zsh_with_integration() {
|
exec_zsh_with_integration() {
|
||||||
zdotdir="$ZDOTDIR"
|
zdotdir="$ZDOTDIR"
|
||||||
if [ -z "$zdotdir" ]; then
|
if [ -z "$zdotdir" ]; then
|
||||||
zdotdir=~;
|
zdotdir=~
|
||||||
unset KITTY_ORIG_ZDOTDIR # ensure this is not propagated
|
|
||||||
else
|
else
|
||||||
export KITTY_ORIG_ZDOTDIR="$zdotdir"
|
export KITTY_ORIG_ZDOTDIR="$zdotdir"
|
||||||
fi
|
fi
|
||||||
@@ -293,6 +292,7 @@ exec_zsh_with_integration() {
|
|||||||
export ZDOTDIR="$shell_integration_dir/zsh"
|
export ZDOTDIR="$shell_integration_dir/zsh"
|
||||||
exec "$login_shell" "-l"
|
exec "$login_shell" "-l"
|
||||||
fi
|
fi
|
||||||
|
unset KITTY_ORIG_ZDOTDIR # ensure this is not propagated
|
||||||
}
|
}
|
||||||
|
|
||||||
exec_fish_with_integration() {
|
exec_fish_with_integration() {
|
||||||
|
|||||||
Reference in New Issue
Block a user