Home How to modify path environment variable in fish shell
Post
Cancel

How to modify path environment variable in fish shell

Set path environment variable permanently

1
set -U fish_user_paths /usr/local/bin $fish_user_paths

This will prepend /usr/local/bin permanently to your path, and will affect the current session and all future instances too because the -U argument will make the variable universal.

References

This post is licensed under CC BY 4.0 by the author.

How to download file in linux

How to setup clash in linux