Add 'sudo' prefix alias pacman

Add a prefix alias because I frequently forget.

Tested-on: arcturus <18 Dec 2013>
This commit is contained in:
Tom Swartz
2013-12-18 07:56:25 -05:00
parent 969c609419
commit 99ca9e9ae3

1
.zshrc
View File

@@ -26,6 +26,7 @@ bindkey '^[OF' end-of-line
bindkey '^[[3~' delete-char
#[ -r /etc/profile.d/cnf.sh ] && . /etc/profile.d/cnf.sh
alias pacman='sudo pacman'
alias ls='ls --color=auto'
#alias pdflatex-watch='while true; do inotifywait -e modify $*.tex; pdflatex $*.tex; done'
function pdflatex-watch() { while true; do inotifywait -e modify "$1"; pdflatex "$1"; done;}