fixed a lot of stuff
This commit is contained in:
1 parent
74f4b9b1be
commit
6591f6b020
24 files changed
+626
-455
No files matched your search
@@ -1,5 +1,12 @@
|
||||
function addpaths
|
||||
contains -- $argv $fish_user_paths
|
||||
or set -U fish_user_paths $fish_user_paths $argv
|
||||
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
|
||||
Reference in new issue
Block a user