Add bash aliases

vimbundler
nirenjan 2013-05-20 22:41:56 -07:00
parent 64bba9a07b
commit dff9c41948
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# ls aliases
alias ll='ls -l'
# Git aliases
alias tgp='time git pull'
alias gf='git fetch'
# Tmux alias
# Use this to launch in 256-color mode
alias tmux='TERM=screen-256color tmux -2'

View File

@ -30,6 +30,11 @@ if [[ -z $LS_COLORS && -f $HOME/.bashrc.lscolors ]]; then
source $HOME/.bashrc.lscolors source $HOME/.bashrc.lscolors
fi fi
# Source the common aliases across systems
if [[ -f $HOME/.bashrc.aliases ]]; then
source $HOME/.bashrc.aliases
fi
# Keep system specific aliases in a seperate file called .aliases # Keep system specific aliases in a seperate file called .aliases
# If .aliases exists it will envoked by the next line: # If .aliases exists it will envoked by the next line:
if [ -f $HOME/.aliases ]; then if [ -f $HOME/.aliases ]; then

View File

@ -237,6 +237,7 @@ fi
lnfile bash/bashrc.common ~/.bashrc.common lnfile bash/bashrc.common ~/.bashrc.common
lnfile bash/bashrc.lscolors ~/.bashrc.lscolors lnfile bash/bashrc.lscolors ~/.bashrc.lscolors
lnfile bash/bashrc.aliases ~/.bashrc.aliases
lnfile dircolors ~/.dir_colors lnfile dircolors ~/.dir_colors
if [[ $PRINT_INST == 1 ]] if [[ $PRINT_INST == 1 ]]