diff --git a/shells/zshrc b/shells/zshrc index 4b589f6..16c6f0a 100644 --- a/shells/zshrc +++ b/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 }