dotfiles/cli/fish/functions/append_paths.fish
2020-11-22 09:38:00 +08:00

7 lines
98 B
Fish

function append_paths
for f in $argv
test -e $f && set -gx PATH $f $PATH
end
end