To prepend to $PATH persistently, since fish 3.2.0:
fish_add_path /path/to/add
Top comment hijacked by @faho and @ridiculousfish to help people landing here from search engines. Original comment follows:
I try set -U PATH ~/.cabal/bin $PATH which sets it in the shell I type it in, but not any new shells I launch and it's gone if I restart the first shell as well.
Using git HEAD on Fedora 18.
To prepend to $PATH persistently, since fish 3.2.0:
Top comment hijacked by @faho and @ridiculousfish to help people landing here from search engines. Original comment follows:
I try
set -U PATH ~/.cabal/bin $PATHwhich sets it in the shell I type it in, but not any new shells I launch and it's gone if I restart the first shell as well.Using git HEAD on Fedora 18.