···11-function fish_remove_path
22- if set -l index (contains -i "$argv" $fish_user_paths)
33- set -e fish_user_paths[$index]
44- echo "Removed $argv from the path"
55- end
11+function fish_remove_path --description 'Remove an item from $fish_user_paths'
22+ fish_remove_list fish_user_paths $argv
63end