Skip to content

Commit

Permalink
Fix PATH declaration.
Browse files Browse the repository at this point in the history
* Previous syntax was keeping asdf from adding itself at the beginning of the path.
* Reference: fish-shell/fish-shell#527 (comment)
  • Loading branch information
joshukraine committed Dec 3, 2019
1 parent d73c5e0 commit 6891c9f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions omf/init.fish
@@ -1,11 +1,13 @@
# PATH - https://fishshell.com/docs/current/tutorial.html#tut_path
set -g fish_user_paths '/sbin' $fish_user_paths
set -g fish_user_paths '/usr/sbin' $fish_user_paths
set -g fish_user_paths '/bin' $fish_user_paths
set -g fish_user_paths '/usr/bin' $fish_user_paths
set -g fish_user_paths '/usr/local/sbin' $fish_user_paths
set -g fish_user_paths '/usr/local/bin' $fish_user_paths
set -g fish_user_paths "$HOME/bin" $fish_user_paths
# PATH
set -xg PATH \
"$HOME/bin" \
'/usr/local/bin' \
'/usr/local/sbin' \
'/usr/bin' \
'/bin' \
'/usr/sbin' \
'/sbin' \
$PATH

# Environment variables - https://fishshell.com/docs/current/commands.html#set
set -xg EDITOR 'nvim'
Expand Down

0 comments on commit 6891c9f

Please sign in to comment.