[feature] add dotfiles/bin to path
This commit is contained in:
parent
92b889c36a
commit
c59ea9601b
|
@ -53,7 +53,7 @@ if status is-interactive
|
||||||
alias dt='date "+%Y%m%d-%H%M%S"'
|
alias dt='date "+%Y%m%d-%H%M%S"'
|
||||||
|
|
||||||
# === PATH and file sourcing
|
# === 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 \
|
source_files /usr/share/autojump/autojump.fish /usr/local/share/autojump/autojump.fish \
|
||||||
~/.profile.fish
|
~/.profile.fish
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
function append_paths
|
function append_paths
|
||||||
for f in $argv
|
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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user