1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00

Add command to directly install the output of acs

This commit is contained in:
mapc 2012-05-28 23:17:38 +02:00
parent 1876f1d558
commit 0673425331

View file

@ -49,6 +49,9 @@ if [[ $use_sudo -eq 1 ]]; then
alias afu='sudo apt-file update' alias afu='sudo apt-file update'
alias ag='sudo $apt_pref upgrade' alias ag='sudo $apt_pref upgrade'
alias ai='sudo $apt_pref install' alias ai='sudo $apt_pref install'
# Install all packages given on the command line while using only the first word of each line:
# acs ... | ail
alias ail="sed -e 's/ */ /g' -e 's/ *//' | cut -s -d ' ' -f 1 | "' xargs sudo $apt_pref install'
alias ap='sudo $apt_pref purge' alias ap='sudo $apt_pref purge'
alias ar='sudo $apt_pref remove' alias ar='sudo $apt_pref remove'