From de14f811bc54ffa02f05aa0782a1d55df414199f Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Thu, 14 Jul 2022 19:26:09 -0400 Subject: [PATCH] Add fish to PATH if installed as a MacOS App --- home/fish/fish.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/fish/fish.nix b/home/fish/fish.nix index 19f516b..9cb2917 100644 --- a/home/fish/fish.nix +++ b/home/fish/fish.nix @@ -57,6 +57,9 @@ set --global KITTY_SHELL_INTEGRATION enabled 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" + + # 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 # Enable vi keybindings