diff --git a/bash/bashrc.aliases b/bash/bashrc.aliases new file mode 100644 index 0000000..7653ba3 --- /dev/null +++ b/bash/bashrc.aliases @@ -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' + diff --git a/bash/bashrc.common b/bash/bashrc.common index 867bc07..9bbca29 100644 --- a/bash/bashrc.common +++ b/bash/bashrc.common @@ -30,6 +30,11 @@ if [[ -z $LS_COLORS && -f $HOME/.bashrc.lscolors ]]; then source $HOME/.bashrc.lscolors 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 # If .aliases exists it will envoked by the next line: if [ -f $HOME/.aliases ]; then diff --git a/install b/install index ca0bbb8..f44d280 100755 --- a/install +++ b/install @@ -237,6 +237,7 @@ fi lnfile bash/bashrc.common ~/.bashrc.common lnfile bash/bashrc.lscolors ~/.bashrc.lscolors +lnfile bash/bashrc.aliases ~/.bashrc.aliases lnfile dircolors ~/.dir_colors if [[ $PRINT_INST == 1 ]]