double kitty integration fix -> no more brick cursor bug after switching to kitty and back
This commit is contained in:
parent
de32b5f5d6
commit
fe835de7f1
@ -23,21 +23,9 @@ end
|
|||||||
|
|
||||||
# Commands to run in interactive sessions can go here
|
# Commands to run in interactive sessions can go here
|
||||||
if status is-interactive
|
if status is-interactive
|
||||||
set -l kitty_fish_integration /Applications/kitty.app/Contents/Resources/kitty/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish
|
if type -q atuin; and test -s ~/.local/share/atuin/key
|
||||||
set -l kitty_fish_completions /Applications/kitty.app/Contents/Resources/kitty/shell-integration/fish/vendor_completions.d
|
atuin init fish --disable-up-arrow | source
|
||||||
if test -f "$kitty_fish_integration"
|
end
|
||||||
if test "$TERM" = xterm-kitty; or set -q KITTY_MOSH
|
|
||||||
set -g KITTY_SHELL_INTEGRATION enabled
|
|
||||||
source "$kitty_fish_integration"
|
|
||||||
if test -d "$kitty_fish_completions"
|
|
||||||
set --prepend fish_complete_path "$kitty_fish_completions"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if type -q atuin; and test -s ~/.local/share/atuin/key
|
|
||||||
atuin init fish --disable-up-arrow | source
|
|
||||||
end
|
|
||||||
|
|
||||||
if type -q jump
|
if type -q jump
|
||||||
# initialize jump cd
|
# initialize jump cd
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user