diff --git a/zsh/aliases b/zsh/aliases index 5b4c45a8..2f82d873 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -177,8 +177,12 @@ case $OSTYPE in alias codekit='open -a CodeKit' ;; "linux"*) - alias apt='sudo apt-get' - alias aptu='sudo apt-get update && sudo apt-get upgrade' + is-callable apt-get && \ + alias apt='sudo apt-get' && \ + alias aptu'sudo apt-get update && sudo apt-get upgrade' + is-callable pacman && \ + alias pac='sudo pacman' && \ + alias pacu='sudo pacman -Syu' ;; "cygwin"*) ;;