mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-02 23:19:41 +00:00
fix(nix): fish functions are wrapped in two layers
This commit is contained in:
parent
710441a578
commit
0b1cd71f58
17 changed files with 245 additions and 300 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue