Updates to update-tool
This commit is contained in:
parent
6582eeabc1
commit
9a192a4852
17
shells/zshrc
17
shells/zshrc
@ -127,13 +127,15 @@ update-tool() {
|
||||
while [[ "$RESP" != "q" ]]; do
|
||||
CMD=${RESP:0:1}
|
||||
case "$CMD" in
|
||||
p) update;;
|
||||
u) update;;
|
||||
l) layman -S ;;
|
||||
u) upgrade;;
|
||||
g) upgrade;;
|
||||
e) etc-update;;
|
||||
p) emerge -Av @preserved-rebuild;;
|
||||
m) emerge -Av @module-rebuild;;
|
||||
d) emerge -Ava --depclean;;
|
||||
h) haskell-updater -- --usepkg=n;;
|
||||
p) perl-cleaner --reallyall;;
|
||||
c) perl-cleaner --reallyall;;
|
||||
y) python-updater;;
|
||||
r) revdep-rebuild;;
|
||||
q) return;;
|
||||
@ -143,17 +145,20 @@ update-tool() {
|
||||
continue
|
||||
fi
|
||||
echo "Commands:"
|
||||
echo "p: update"
|
||||
echo "u: update"
|
||||
echo "l: layman -S"
|
||||
echo "u: upgrade"
|
||||
echo "g: upgrade"
|
||||
echo "e: etc-update"
|
||||
echo "p: emerge @preserved-rebuild"
|
||||
echo "m: emerge @module-rebuild"
|
||||
echo "d: emerge --ask --depclean"
|
||||
echo "h: haskell-updater -- --usepkg=n"
|
||||
echo "p: perl-cleaner --reallyall"
|
||||
echo "c: perl-cleaner --reallyall"
|
||||
echo "y: python-updater"
|
||||
echo "r: revdep-rebuild"
|
||||
echo "q: quit"
|
||||
echo -n "> "
|
||||
echo '\a'
|
||||
read RESP
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user