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
|
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
|
||||||
|
|
1
install
1
install
|
@ -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 ]]
|
||||||
|
|
Loading…
Reference in New Issue