Skip to main content

Add Custom User Path

You can use the set command to prepend a new path to your $PATH.

set -U fish_user_paths $HOME/.cargo/bin $fish_user_paths

`-U or --universal causes the specified shell variable to be given a universal scope. If this option is supplied, the variable will be shared between all the current user's fish instances on the current computer, and will be preserved across restarts of the shell.`