adding bash_profile, bashrc, and git-completion.bash

This commit is contained in:
Nick Nisi
2012-04-11 23:50:11 -05:00
parent 589a5ff2b5
commit f3f71e55ea
3 changed files with 2446 additions and 0 deletions

24
bashrc.bash Normal file
View File

@@ -0,0 +1,24 @@
# aliases
alias ll='ls -l'
alias ta='tmux attach'
alias rmf='rm -rf'
# custom scripts
export MY_BIN=~/bin
export PATH=$MY_BIN:$PATH
export MY_EDITOR="mvim -v";
# export EDITOR='subl -w'
# add ~/.node_libraries to the node path
export NODE_PATH=~/.node_libraries
if [ -f ~/.git-completion.bash ]; then
source ~/.git-completion.bash
fi
# export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '