Pacman alias to search in installed packages
This commit is contained in:
parent
ca723e3c1c
commit
4e7da05f23
7
zshrc
7
zshrc
|
@ -133,7 +133,7 @@ alias mane="LANG=C man "
|
|||
alias most='most -w'
|
||||
|
||||
## System
|
||||
# APT|Aptitude|… commands {{{
|
||||
# APT|Aptitude|dpkg|… commands {{{
|
||||
if [ -d /etc/apt ]; then
|
||||
alias acle='sudo aptitude clean'
|
||||
alias afil='apt-file search --'
|
||||
|
@ -152,6 +152,8 @@ if [ -d /etc/apt ]; then
|
|||
alias awhy='aptitude why'
|
||||
alias insexperimental='sudo aptitude --target-release experimental install'
|
||||
alias anorepos="apt list --installed | sed --silent 's/\(.*\)\/.*,local.*/\1/p' | tr '\n' ' '"
|
||||
|
||||
alias gdpkg='dpkg --list | grep --extended-regexp -- '
|
||||
fi
|
||||
# }}}
|
||||
# Pacman commands {{{
|
||||
|
@ -173,6 +175,8 @@ if [ -d /etc/pacman.d ]; then
|
|||
alias pasho='pacman --sync --info --'
|
||||
#alias awhy='aptitude why'
|
||||
#alias anorepos="apt list --installed | sed --silent 's/\(.*\)\/.*,local.*/\1/p' | tr '\n' ' '"
|
||||
|
||||
alias gpackage='pacman --query --search -- | grep --extended-regexp -- '
|
||||
fi
|
||||
# }}}
|
||||
# Yay commands for AUR − Archlinux User Repository {{{
|
||||
|
@ -195,7 +199,6 @@ alias maildate='sudo mailq |grep "^[A-F0-9]" |sort -k5n -k6n'
|
|||
alias grep='grep --color=always --ignore-case '
|
||||
alias gerp='grep --ignore-case'
|
||||
alias Grep='\grep '
|
||||
alias gdpkg='dpkg --list | grep --extended-regexp -- '
|
||||
alias gmount='mount | grep --extended-regexp -- '
|
||||
alias gdf='df | grep --extended-regexp -- '
|
||||
# }}}
|
||||
|
|
Loading…
Reference in New Issue