mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-26 09:42:51 +03:00
4 lines
179 B
Fish
4 lines
179 B
Fish
function _tide_find_and_remove -a name list --no-scope-shadowing
|
|
set -e "$list"[(contains --index $name $$list)] 2>/dev/null # Ignore error if $list doesn't contain $name
|
|
end
|