New answers tagged


aaa is right. You might try setting $BASEDIR in ~/.profile. That file is read when you log in to Gnome, while ~/.bashrc is read when you open up a terminal, basically. (Note that Bash as a login shell doesn't parse ~/.profile if either ~/.bash_profile or ~/.bash_login exists.) Alternatively you could try is using (shell-command-to-string "$SHELL --login ...

Top 50 recent answers are included