mirror of
https://github.com/zhigang1992/linux-configs.git
synced 2026-04-30 13:02:36 +08:00
Add 'sudo' prefix alias pacman
Add a prefix alias because I frequently forget. Tested-on: arcturus <18 Dec 2013>
This commit is contained in:
1
.zshrc
1
.zshrc
@@ -26,6 +26,7 @@ bindkey '^[OF' end-of-line
|
|||||||
bindkey '^[[3~' delete-char
|
bindkey '^[[3~' delete-char
|
||||||
#[ -r /etc/profile.d/cnf.sh ] && . /etc/profile.d/cnf.sh
|
#[ -r /etc/profile.d/cnf.sh ] && . /etc/profile.d/cnf.sh
|
||||||
|
|
||||||
|
alias pacman='sudo pacman'
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
#alias pdflatex-watch='while true; do inotifywait -e modify $*.tex; pdflatex $*.tex; done'
|
#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;}
|
function pdflatex-watch() { while true; do inotifywait -e modify "$1"; pdflatex "$1"; done;}
|
||||||
|
|||||||
Reference in New Issue
Block a user