Add fish to PATH if installed as a MacOS App

This commit is contained in:
Natsu Kagami 2022-07-14 19:26:09 -04:00 committed by Natsu Kagami
parent 63283d0a51
commit de14f811bc

View file

@ -57,6 +57,9 @@
set --global KITTY_SHELL_INTEGRATION enabled set --global KITTY_SHELL_INTEGRATION enabled
source "$KITTY_INSTALLATION_DIR/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish" source "$KITTY_INSTALLATION_DIR/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish"
set --prepend fish_complete_path "$KITTY_INSTALLATION_DIR/shell-integration/fish/vendor_completions.d" set --prepend fish_complete_path "$KITTY_INSTALLATION_DIR/shell-integration/fish/vendor_completions.d"
# Add fish to PATH if installed as a MacOS App
test -e $KITTY_INSTALLATION_DIR/../../MacOS && set -x PATH $PATH "$KITTY_INSTALLATION_DIR/../../MacOS"
end end
# Enable vi keybindings # Enable vi keybindings