We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97c3390 commit 82b6fc7Copy full SHA for 82b6fc7
.settings
@@ -59,11 +59,13 @@ fi
59
## inject additional dirs
60
export PATH="$USER_PATHS:$PATH"
61
62
-function _setup_fish() {
63
- echo -n "Declaring fish_user_paths to be $USER_PATHS... "
64
- fish -c "set -e -U fish_user_paths; set -U fish_user_paths $USER_PATHS \$fish_user_paths"
65
- echo "done"
66
-}
67
-
68
-export -f _setup_fish
+if [ -n "$BASHPID" ]; then
+ function _setup_fish() {
+ echo -n "Declaring fish_user_paths to be $USER_PATHS... "
+ fish -c "set -e -U fish_user_paths; set -U fish_user_paths $USER_PATHS \$fish_user_paths"
+ echo "done"
+ }
+
69
+ export -f _setup_fish
70
+fi
71
0 commit comments