fish: formatted fish functions

This commit is contained in:
Primrose 2024-07-18 01:11:23 +02:00
parent 6169d1e7ff
commit 667dce99d1
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
15 changed files with 176 additions and 176 deletions

View file

@ -1,8 +1,8 @@
function fish_remove_path
if set index (contains -i $argv[1] $fish_user_path)
set --erase --universal fish_user_paths[$index]
echo "Updated fish_user_path: $fish_user_path"
else
echo "$argv[1] not found in fish_user_path: $fish_user_path"
end
if set index (contains -i $argv[1] $fish_user_path)
set --erase --universal fish_user_paths[$index]
echo "Updated fish_user_path: $fish_user_path"
else
echo "$argv[1] not found in fish_user_path: $fish_user_path"
end
end