3 ms·
I missed that set HOME doesn't set HOME (I was pre-coffee). What I said about un-magic-ing is true for sure. "HOME=foo; echo $HOME" will print "foo". Interes
by dllthomas 13y ago
I missed that set HOME doesn't set HOME (I was pre-coffee).
What I said about un-magic-ing is true for sure. "HOME=foo; echo $HOME" will print "foo".
Interestingly, it's propagated. "HOME=foo sh -c 'echo $HOME'" will also print "foo".