mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
8 lines
231 B
Fish
8 lines
231 B
Fish
# source: https://github.com/fish-shell/fish-shell/issues/8604
|
|
|
|
function fish_remove_path
|
|
if set -l index (contains -i "$argv" $fish_user_paths)
|
|
set -e fish_user_paths[$index]
|
|
echo "Removed $argv from the path"
|
|
end
|
|
end
|