added a couple new alias'
This commit is contained in:
parent
4e5fc64608
commit
c0bd168725
4
.bashrc
4
.bashrc
|
@ -92,8 +92,10 @@ alias ll='ls -alF'
|
||||||
alias la='ls -A'
|
alias la='ls -A'
|
||||||
alias l='ls -CF'
|
alias l='ls -CF'
|
||||||
alias gconfig='/usr/bin/git --git-dir=$HOME/configs/ --work-tree=$HOME'
|
alias gconfig='/usr/bin/git --git-dir=$HOME/configs/ --work-tree=$HOME'
|
||||||
|
alias vi=nvim
|
||||||
|
alwas vim=nvim
|
||||||
# Add an "alert" alias for long running commands. Use like so:
|
# Add an "alert" alias for long running commands. Use like so:
|
||||||
|
|
||||||
# sleep 10; alert
|
# sleep 10; alert
|
||||||
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
||||||
|
|
||||||
|
|
Reference in New Issue