dotfiles/cli/fish/functions/append_paths.fish

7 lines
121 B
Fish
Raw Normal View History

function append_paths
for f in $argv
2021-01-17 03:48:41 +00:00
test -e $f && ! contains $f $PATH && set -gx PATH $f $PATH
end
end