mirror of
https://github.com/danbulant/dotfiles
synced 2026-06-06 16:20:48 +00:00
3 lines
145 B
Fish
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
|