1
0
Fork 0
fishdots/functions/_tide_find_and_remove.fish

4 lines
145 B
Fish
Raw Normal View History

2024-06-28 12:48:25 +00:00
function _tide_find_and_remove -a name list --no-scope-shadowing
contains --index $name $$list | read -l index && set -e "$list"[$index]
end