In bash one can write
CFLAGS="-O2" rvm install 2.0.0
to run rvm
with that specific CFLAGS
. Is there anyway to do the same in fish
shell?
I know about set -x
but that is not exactly the same as the environment variable will be set for the whole session instead of just for that command.