mirror of
https://github.com/arcan1s/dotfiles.git
synced 2025-07-15 22:59:56 +00:00
rename files to zsh
This commit is contained in:
7
zsh/pacman_common.zsh
Normal file
7
zsh/pacman_common.zsh
Normal file
@ -0,0 +1,7 @@
|
||||
# redefine pacman and yaourt
|
||||
pacman() {
|
||||
/usr/bin/sudo /usr/bin/pacman $* && echo "$*" | grep -q "S\|R\|U" && rehash
|
||||
}
|
||||
yaourt() {
|
||||
/usr/bin/yaourt $* && echo "$*" | grep -q "S\|R\|U" && rehash
|
||||
}
|
Reference in New Issue
Block a user