diff --git a/void/home/.bashrc b/void/home/.bashrc index 4ac6c62..9a51867 100644 --- a/void/home/.bashrc +++ b/void/home/.bashrc @@ -6,13 +6,29 @@ alias ls='ls --color=auto' alias vim='nvim' alias vi='nvim' -GEM_HOME="$HOME/.gems" GOPATH="$HOME/.go" -PATH="$GEM_HOME/bin:/usr/local/bin/go:$GOPATH/bin:$PATH" +GEM_HOME="$HOME/.gems" -PS1='[\u@\h \W]\$ ' +PS1='\W : λ ' -export GEM_HOME export GOPATH +export GEM_HOME [ -f ~/.fzf.bash ] && source ~/.fzf.bash +[ -f /etc/profile.d/rvm.sh ] && source /etc/profile.d/rvm.sh + +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + +PATH="/home/rf/perl5/bin${PATH:+:${PATH}}"; export PATH; +PERL5LIB="/home/rf/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; +PERL_LOCAL_LIB_ROOT="/home/rf/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; +PERL_MB_OPT="--install_base \"/home/rf/perl5\""; export PERL_MB_OPT; +PERL_MM_OPT="INSTALL_BASE=/home/rf/perl5"; export PERL_MM_OPT; + +# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. +export PATH="$PATH:$HOME/.rvm/bin" + +# RVM likes the gem root path to be the first element in the path +PATH="$GEM_HOME/bin:/usr/local/bin/go:$GOPATH/bin:$PATH"