4 ms·
That question was asked 2 years ago. From the current docs: A universal variable is a variable whose value is shared across all instances of fish, now and in
by owenjones 13y ago
That question was asked 2 years ago.
From the current docs:
A universal variable is a variable whose value is shared across all instances of fish, now and in the future - even after a reboot. You can make a variable universal with set -U:
> set -U EDITOR vim
Now in another shell:
> echo $EDITOR
vim
- sepeth 13y agoMy problem is not specific to EDITOR variable. E.g. sometimes I need to set PYTHONPATH per specific command. What irritates me is that the syntax to do that. I am not asking for a way to make a variable universal, I am looking for a way to specify variable per command.