1
1
Fork 0
dotfiles/private_fish/functions/_tide_find_and_remove.fish
2025-06-16 10:36:32 -06:00

3 lines
145 B
Fish

function _tide_find_and_remove -a name list --no-scope-shadowing
contains --index $name $$list | read -l index && set -e "$list"[$index]
end