Correct place to set $BIBINPUTS environment variable

Posted by student on Ask Ubuntu See other posts from Ask Ubuntu or by student
Published on 2012-05-31T09:26:17Z Indexed on 2012/05/31 10:50 UTC
Read the original article Hit count: 335

If I set the $BIBINPUTS environment varibale in my .zshrc, it is recognized by emacs-reftex (via emacsclient), if I start emacs from my zsh commandline.

However if I start using the menubar or gmrun it doesn't knot this variable. So where is the correct place to set for the whole user environment?

If there are several alternatives, let me know. Also if it changed between differend ubuntu-versions.

Edit:

I have tried to set it in ~/.pam_environment like

BSTINPUTS=.:/home/myuser/BiBTeX/:$BSTINPUTS
BIBINPUTS=.:/home/myuser/BiBTeX/:$BIBINPUTS

but it seems to have no effect (even after rebooting) and is not listed via printenv.

I am currently using ubuntu natty + gdm + xmonad.

© Ask Ubuntu or respective owner

Related posts about environment-variables

Related posts about emacs