[wplug] vars in bash?

Zach netrek at gmail.com
Fri Jan 19 20:07:23 EST 2007


I am looking for the canonical way to declare an environment variable
in the BASH shell. Which of these two forms is preferable:

EDITOR=/usr/bin/emacs:"${EDITOR}"

or

export EDITOR=/usr/bin/emacs

I have this in my .bashrc.

Zach


More information about the wplug mailing list