I\'m currently playing around with the fish shell and I\'m having some trouble wrapping my head around how the PATH variable is set. For what it\'s worth, I\'m
PATH
The recommended commands for modifying PATH from fish's maintainers are:
If you want to run the command once:
set -Ua fish_user_paths /path
If you want to add a command to a startup script, this is idempotent:
contains /path $fish_user_paths; or set -Ua fish_user_paths /path