diff options
author | doy <doy@tozt.net> | 2009-01-27 22:18:37 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-01-27 22:18:37 -0500 |
commit | 2071584e3175031606a732e6807301108ff4f08e (patch) | |
tree | e4679ac63bd9a94246f79e1ec569b37934bcf5fe /bashrc | |
parent | 68b4914c0791bcc3161bc496c1379f5e1f05f49e (diff) | |
download | conf-2071584e3175031606a732e6807301108ff4f08e.tar.gz conf-2071584e3175031606a732e6807301108ff4f08e.zip |
move environment variables up before the check for interactivity, so things calling bash non-interactively can see them
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 30 |
1 files changed, 15 insertions, 15 deletions
@@ -4,6 +4,21 @@ # that can't tolerate any output. So make sure this doesn't display # anything or bad things will happen ! # }}} +# environment {{{ +export MPD_HOST=bishamon +export LUA_CPATH='/usr/local/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/?/init.so;./?.so' +export LUA_PATH='/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;?.lua' +export MANPAGER='/home/doy/.bin/vimmanpager' +export EDITOR='/usr/bin/vim' +export DARCS_SSH='/home/doy/.bin/ssh' +export DARCS_SCP='/home/doy/.bin/scp' +export DARCS_SFTP='/home/doy/.bin/sftp' +export PERL5LIB='/home/doy/.perl/:/home/doy/.perl/lib/perl5/site_perl/5.10.0/i686-linux/' +export CVS_RSH='ssh' +export TEXINPUTS=".:~/conf/tex:" +[ -x /usr/bin/lesspipe ] && export LESSOPEN='|/usr/bin/lesspipe %s' +[ -x /usr/bin/lesspipe.sh ] && export LESSOPEN='|/usr/bin/lesspipe.sh %s' +# }}} # Test for an interactive shell. {{{ # There is no need to set anything past this point for scp and rcp, and it's # important to refrain from outputting anything in those cases. @@ -123,21 +138,6 @@ else export PROMPT_COMMAND="${PROMPT_COMMAND};history -a" fi # }}} -# environment {{{ -export MPD_HOST=bishamon -export LUA_CPATH='/usr/local/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/?/init.so;./?.so' -export LUA_PATH='/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;?.lua' -export MANPAGER='/home/doy/.bin/vimmanpager' -export EDITOR='/usr/bin/vim' -export DARCS_SSH='/home/doy/.bin/ssh' -export DARCS_SCP='/home/doy/.bin/scp' -export DARCS_SFTP='/home/doy/.bin/sftp' -export PERL5LIB='/home/doy/.perl/:/home/doy/.perl/lib/perl5/site_perl/5.10.0/i686-linux/' -export CVS_RSH='ssh' -export TEXINPUTS=".:~/conf/tex:" -[ -x /usr/bin/lesspipe ] && export LESSOPEN='|/usr/bin/lesspipe %s' -[ -x /usr/bin/lesspipe.sh ] && export LESSOPEN='|/usr/bin/lesspipe.sh %s' -# }}} # external files {{{ [ -f /etc/bash_completion ] && source /etc/bash_completion [ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion |