Quantcast
Channel: Active questions tagged fish - Stack Overflow
Viewing all articles
Browse latest Browse all 131

How can I specify PATH env var in fish shell in a declarative command

$
0
0

I want my $PATH environment variable to specifically contain 3 specific directories and nothing else.

I don't want to use individual ADD and REMOVE commands to shape my $PATH variable.

In Bash I can just say PATH="aaa:bbb:ccc"

But I haven't found a way to do that in fish shell. OR I'm missing some syntax.

The Fish tutorial also doesn't cover this. It only mentions iterative approaches (add/remove from path)

What command can I add to my ~/.config/fish/config.fish to accomplish this?


Viewing all articles
Browse latest Browse all 131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>