Our Blog
Filed under
osx
Get those cheeky bash variables out of there
Wanting to "unexport" a bash shell variable, after several minutes too long trying to find the man page for 'export', I finally found the hard way to do it;
export -n VAR_NAMEor
unset VAR_NAMEor
(Im just kidding about the latter)
Or if you're a smart cookie, you can just make a bash alias like this;
alias unexport='unset'
Posted by Glenn Roberts
Comments [0]


Comments [0]