diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-01-16 06:46:11 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-01-21 06:37:31 -0500 |
commit | 941601ba04bc3abc64f7c0a385f0d78f89d3d1e4 (patch) | |
tree | 0b9416d96e6bdc6817b783f735343d9abb0890ad | |
parent | 7b5eaece5605d6fe8e8b3031b30e9493f167e09d (diff) | |
download | conf-941601ba04bc3abc64f7c0a385f0d78f89d3d1e4.tar.gz conf-941601ba04bc3abc64f7c0a385f0d78f89d3d1e4.zip |
also move language environment setup out of .env
-rw-r--r-- | bashrc | 4 | ||||
-rw-r--r-- | env | 3 | ||||
-rw-r--r-- | zshrc | 4 |
3 files changed, 8 insertions, 3 deletions
@@ -2,6 +2,10 @@ export PATH="/usr/share/git/diff-highlight:${HOME}/.bin/nethack:${HOME}/.bin:/usr/lib/ccache/bin:$PATH" [ -f "$HOME/.env" ] && source $HOME/.env # }}} +# language environments {{{ +test -f $HOME/perl5/perlbrew/etc/bashrc && source $HOME/perl5/perlbrew/etc/bashrc +type rbenv > /dev/null 2>&1 && eval "$(rbenv init -)" +# }}} # 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. @@ -14,8 +14,5 @@ export NOPASTE_SSH_DOCROOT="paste" export NOPASTE_SSH_WEBPATH="http://paste.tozt.net" export NOPASTE_SSH_MODE=0644 export PERL_CPANM_OPT="-q --mirror file://${HOME}/perl5/minicpan/ --mirror http://mirrors.kernel.org/cpan/ --mirror http://cpan.metacpan.org/ --prompt" -[ -f $HOME/perl5/perlbrew/etc/bashrc ] && . $HOME/perl5/perlbrew/etc/bashrc -type rbenv > /dev/null 2>&1 && eval "$(rbenv init -)" -true # vim:ft=sh: @@ -4,6 +4,10 @@ export PATH="/usr/share/git/diff-highlight:${HOME}/.bin/nethack:${HOME}/.bin:/usr/lib/ccache/bin:$PATH" [ -f "$HOME/.env" ] && source $HOME/.env # }}} +# language environments {{{ +test -f $HOME/perl5/perlbrew/etc/bashrc && source $HOME/perl5/perlbrew/etc/bashrc +type rbenv > /dev/null 2>&1 && eval "$(rbenv init -)" +# }}} # Change the window title of X terminals {{{ function term_title_precmd () { echo -ne "\033]0;${USER}@${HOST}:${PWD/$HOME/~}\007" |