mirror of https://github.com/nirenjan/dotfiles.git
Add bash aliases
parent
64bba9a07b
commit
dff9c41948
|
@ -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'
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue