1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-05 09:43:38 +08:00
ohmyzsh/plugins/suse/suse.plugin.zsh

60 lines
1.5 KiB
Bash
Raw Normal View History

#Main commands
2018-10-03 03:40:26 +08:00
alias z='sudo zypper'
alias zh='zypper -h'
alias zhse='zypper -h se'
alias zlicenses='zypper licenses'
2018-10-03 03:40:26 +08:00
alias zps='sudo zypper ps'
alias zshell='sudo zypper shell'
alias zsource-download='sudo zypper source-download'
alias ztos='zypper tos'
alias zvcmp='zypper vcmp'
#Packages commands
2018-10-03 03:40:26 +08:00
alias zin='sudo zypper in'
alias zinr='sudo zypper inr'
alias zrm='sudo zypper rm'
alias zsi='sudo zypper si'
alias zve='sudo zypper ve'
#Updates commands
2018-10-03 03:40:26 +08:00
alias zdup='sudo zypper dup'
alias zlp='zypper lp'
alias zlu='zypper lu'
2018-10-03 03:40:26 +08:00
alias zpchk='sudo zypper pchk'
alias zup='sudo zypper up'
alias zpatch='sudo zypper patch'
#Request commands
alias zif='zypper --no-refresh if'
alias zpa='zypper --no-refresh pa'
alias zpatch-info='zypper --no-refresh patch-info'
alias zpattern-info='zypper --no-refresh pattern-info'
alias zproduct-info='zypper --no-refresh product-info'
alias zpch='zypper --no-refresh pch'
alias zpd='zypper --no-refresh pd'
alias zpt='zypper --no-refresh pt'
alias zse='zypper --no-refresh se'
alias zwp='zypper --no-refresh wp'
#Repositories commands
2018-10-03 03:40:26 +08:00
alias zar='sudo zypper ar'
alias zcl='sudo zypper clean'
alias zlr='zypper lr'
2018-10-03 03:40:26 +08:00
alias zmr='sudo zypper mr'
alias znr='sudo zypper nr'
alias zref='sudo zypper ref'
alias zrr='sudo zypper rr'
#Services commands
2018-10-03 03:40:26 +08:00
alias zas='sudo zypper as'
alias zms='sudo zypper ms'
alias zrefs='sudo zypper refs'
alias zrs='sudo zypper rs'
alias zls='zypper ls'
#Package Locks Management commands
2018-10-03 03:40:26 +08:00
alias zal='sudo zypper al'
alias zcl='sudo zypper cl'
alias zll='zypper ll'
2018-10-03 03:40:26 +08:00
alias zrl='sudo zypper rl'