fix(nix): fish functions are wrapped in two layers

This commit is contained in:
Léana 江 2024-01-19 23:40:11 +01:00 committed by Léana 江
parent 710441a578
commit 0b1cd71f58
17 changed files with 245 additions and 300 deletions

View file

@ -1,8 +1,6 @@
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