Migration This is my new public git source viewer. Source available. Please contact with concerns/bugs. Contact me

home-config/fish/functions/_tide_find_and_remove.fish

dfea015e5012e852b97d0818adb81c4a3f79ff48 · 145 B · 3 lines raw

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