mirror of
https://github.com/arcan1s/dotfiles.git
synced 2025-04-24 16:07:17 +00:00
edit zshrc
This commit is contained in:
parent
a4455660e2
commit
df4c15d149
6
zshrc
6
zshrc
@ -176,13 +176,13 @@ su () {
|
||||
fi
|
||||
}
|
||||
pacman () {
|
||||
/usr/bin/sudo /usr/bin/pacman $* && echo "$*" | grep -q "S\|R" && rehash
|
||||
/usr/bin/sudo /usr/bin/pacman $* && echo "$*" | grep -q "S\|R\|U" && rehash
|
||||
}
|
||||
yaourt () {
|
||||
/usr/bin/yaourt $* && echo "$*" | grep -q "S\|R" && rehash
|
||||
/usr/bin/yaourt $* && echo "$*" | grep -q "S\|R\|U" && rehash
|
||||
}
|
||||
yatest () {
|
||||
/usr/bin/yaourt --config /etc/pactest.conf $* && echo "$*" | grep -q "S\|R" && rehash
|
||||
/usr/bin/yaourt --config /etc/pactest.conf $* && echo "$*" | grep -q "S\|R\|U" && rehash
|
||||
}
|
||||
|
||||
alias ls='show_which ls && ls --color=auto'
|
||||
|
Loading…
Reference in New Issue
Block a user