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