Skip to content

Commit

Permalink
fish: Fix recursive fish_user_path setting
Browse files Browse the repository at this point in the history
Changing the scope flag from "export" to "global" seems to fix the
issue. See also
fish-shell/fish-shell#527 (comment)
for reference
  • Loading branch information
gbirke committed Jan 16, 2020
1 parent 4772532 commit 36e5a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/fish/config.fish
@@ -1,8 +1,8 @@
# Set binary paths dependent on local environment
[ -e "/usr/local/opt/node@10/bin" ]; and set -g fish_user_paths "/usr/local/opt/node@10/bin" $fish_user_paths
[ -e "$HOME/.composer/vendor/bin" ]; and set -x fish_user_paths $HOME/.composer/vendor/bin $fish_user_paths
[ -e "$HOME/.composer/vendor/bin" ]; and set -g fish_user_paths $HOME/.composer/vendor/bin $fish_user_paths
# Keep this at the bottom to make sure $HOME/bin is the first entry
[ -e "$HOME/bin" ]; and set -x fish_user_paths $HOME/bin $fish_user_paths
[ -e "$HOME/bin" ]; and set -g fish_user_paths $HOME/bin $fish_user_paths

source ~/.config/fish/abbrevs.fish

Expand Down

0 comments on commit 36e5a47

Please sign in to comment.