Alias for Zypper according to the official Zypper's alias
To use it add suse to the plugins array in you zshrc file.
plugins=(... suse)
Main commands
Alias
Commands
Description
z
sudo zypper
call zypper
zh
zypper -h
print help
zhse
zypper -h se
print help for the search command
zlicenses
zypper licenses
prints a report about licenses and EULAs of installed packages
zps
sudo zypper ps
list process using deleted files
zshell
sudo zypper shell
open a zypper shell session
zsource-download
sudo zypper source-download
download source rpms for all installed packages
ztos
zypper tos
shows the ID string of the target operating system
zvcmp
zypper vcmp
tell whether version1 is older or newer than version2
Packages commands
Alias
Commands
Description
zin
sudo zypper in
install packages
zinr
sudo zypper inr
install newly added packages recommended by already installed ones
zrm
sudo zypper rm
remove packages
zsi
sudo zypper si
install source of a package
zve
sudo zypper ve
verify dependencies of installed packages
Updates commands
Alias
Commands
Description
zdup
sudo zypper dup
upgrade packages
zlp
zypper lp
list necessary patches
zlu
zypper lu
list updates
zpchk
sudo zypper pchk
check for patches
zup
sudo zypper up
update packages
zpatch
sudo zypper patch
install patches
Request commands
Alias
Commands
Description
zif
zypper if
display info about packages
zpa
zypper pa
list packages
zpatch-info
zypper patch-info
display info about patches
zpattern-info
zypper pattern-info
display info about patterns
zproduct-info
zypper product-info
display info about products
zpch
zypper pch
list all patches
zpd
zypper pd
list products
zpt
zypper pt
list patterns
zse
zypper se
search for packages
zwp
zypper wp
list all packages providing the specified capability
NOTE: --no-refresh is passed to zypper for speeding up the calls and avoid errors due to lack
of root privileges. If you need to refresh the repositories, call sudo zypper ref (zref alias)
before running these aliases.