Files
2026-06-23 00:23:16 +02:00

13 lines
282 B
Fish

function addpaths
if test (count $argv) -lt 1
echo "Usage: addpaths <path> [more paths...]"
return 1
end
for p in $argv
if not contains -- $p $fish_user_paths
fish_add_path -U $p
end
end
echo "Updated PATH: $PATH"
end