3 ms·
Can I ask what you find difficult about the environment variables system in Fish? Personally I find it absolutely lovely to use.
by drcongo 2y ago
Can I ask what you find difficult about the environment variables system in Fish? Personally I find it absolutely lovely to use.
- sceptic123 2y agoWhen you don't use it all the time it's impossible to remember what all the flags are for. The names/scopes are also not helpful, I usually want universal, but think I want global because I don't remember there is a universal. And the thing I have to look up every time is how to set a variable for the current line. I'm not saying these are hard things, to figure out. I just agree that they're hard to remember when you don't use them all the time.
- drcongo 2y agoI don't know if this helps at all but you can use `export FOO=bar` in Fish, and the prefixing a line with an envvar should work the same as in Bash etc. like `FOO=bar echo $FOO`