Skip to content

Instantly share code, notes, and snippets.

@leonistor
Created September 3, 2021 10:02
Show Gist options
  • Select an option

  • Save leonistor/509cea2a5f5729813c901836b36e32f1 to your computer and use it in GitHub Desktop.

Select an option

Save leonistor/509cea2a5f5729813c901836b36e32f1 to your computer and use it in GitHub Desktop.
fish paths
# https://superuser.com/questions/776008/how-to-remove-a-path-from-path-variable-in-fish/1091983#1091983?newreg=73ef956cba5a413aa6f2d21a85d88f5f
echo $fish_user_paths | tr " " "\n" | nl
echo "pick the number x, then"
set --erase --universal fish_user_paths[x]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment