mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Add afl=apt-file list and arei=sudo apt-get reinstall to debian.plugin.zsh
This commit is contained in:
parent
b6ea876971
commit
8f02074fc4
1 changed files with 2 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ alias as="aptitude -F \"* %p -> %d \n(%v/%V)\" \
|
|||
|
||||
# apt-file
|
||||
alias afs='apt-file search --regexp'
|
||||
alias afl='apt-file list'
|
||||
|
||||
|
||||
# These are apt-get only
|
||||
|
|
@ -49,6 +50,7 @@ if [[ $use_sudo -eq 1 ]]; then
|
|||
alias afu='sudo apt-file update'
|
||||
alias ag='sudo $apt_pref upgrade'
|
||||
alias ai='sudo $apt_pref install'
|
||||
alias arei='sudo $apt_pref reinstall'
|
||||
# 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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue