2022-07-24 21:14:46 +02:00
|
|
|
# .bashrc
|
|
|
|
# If not running interactively, don't do anything
|
|
|
|
[[ $- != *i* ]] && return
|
|
|
|
|
|
|
|
alias ls='ls --color=auto'
|
|
|
|
alias vim='nvim'
|
|
|
|
alias vi='nvim'
|
|
|
|
|
|
|
|
GOPATH="$HOME/.go"
|
2022-08-18 15:49:18 +02:00
|
|
|
GEM_HOME="$HOME/.gems"
|
2022-10-21 01:09:17 +02:00
|
|
|
GEM_PATH="$HOME/.gems"
|
2022-07-24 21:14:46 +02:00
|
|
|
|
|
|
|
export GOPATH
|
2022-08-18 15:49:18 +02:00
|
|
|
export GEM_HOME
|
2022-10-21 01:09:17 +02:00
|
|
|
export GEM_PATH
|
2022-07-24 21:14:46 +02:00
|
|
|
|
|
|
|
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
2022-08-18 15:49:18 +02:00
|
|
|
[ -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"
|
2022-10-21 00:49:37 +02:00
|
|
|
|
|
|
|
PS1='[\u@\h \W]\$ '
|
|
|
|
export PS1
|