[feature] add dotfiles/bin to path

This commit is contained in:
Klesh Wong 2021-01-17 11:48:41 +08:00
parent 92b889c36a
commit c59ea9601b
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ if status is-interactive
alias dt='date "+%Y%m%d-%H%M%S"'
# === PATH and file sourcing
append_paths ~/.yarn/bin
append_paths ~/.yarn/bin ~/dotfiles/bin
source_files /usr/share/autojump/autojump.fish /usr/local/share/autojump/autojump.fish \
~/.profile.fish

View File

@ -1,6 +1,6 @@
function append_paths
for f in $argv
test -e $f && set -gx PATH $f $PATH
test -e $f && ! contains $f $PATH && set -gx PATH $f $PATH
end
end