added functions
This commit is contained in:
1 parent
4e84944754
commit
949d76123b
4 files changed
+38
No files matched your search
@@ -0,0 +1,8 @@
|
||||
function removepath
|
||||
if set -l index (contains -i $argv[1] $PATH)
|
||||
set --erase --universal fish_user_paths[$index]
|
||||
echo "Updated PATH: $PATH"
|
||||
else
|
||||
echo "$argv[1] not found in PATH: $PATH"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user