Files
dotfiles/.config/fish/functions/_tide_find_and_remove.fish
T
2022-06-25 15:24:30 +02:00

4 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