As I understand it, exporting an environment variable makes it available to any processes spawned from the current one. But the only processes that will be interested in the HISTIGNORE variable (and some related variables) are other instances of bash, which will read ~/.bashrc and pick up the value anyway. So should I use:
export HISTIGNORE="&"
or just:
HISTIGNORE="&"
in my .bashrc file?
exportin Bash start-up files. – Anthony Geoghegan Jan 14 '16 at 10:23