suse.plugin.zsh 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #Alias for Zypper according to the official Zypper's alias
  2. #Main commands
  3. alias z='sudo zypper' #call zypper
  4. alias zh='sudo zypper -h' #print help
  5. alias zhse='sudo zypper -h se' #print help for the search command
  6. alias zlicenses='sudo zypper licenses' #prints a report about licenses and EULAs of installed packages
  7. alias zps='sudo zypper ps' #list process using deleted files
  8. alias zshell='sudo zypper shell' #open a zypper shell session
  9. alias zsource-download='sudo zypper source-download' #download source rpms for all installed packages
  10. alias ztos='sudo zypper tos' #shows the ID string of the target operating system
  11. alias zvcmp='sudo zypper vcmp' #tell whether version1 is older or newer than version2
  12. #Packages commands
  13. alias zin='sudo zypper in' #install packages
  14. alias zinr='sudo zypper inr' #install newly added packages recommended by already installed ones
  15. alias zrm='sudo zypper rm' #remove packages
  16. alias zsi='sudo zypper si' #install source of a package
  17. alias zve='sudo zypper ve' #verify dependencies of installed packages
  18. #Updates commands
  19. alias zdup='sudo zypper dup' #upgrade packages
  20. alias zlp='sudo zypper lp' #list necessary patchs
  21. alias zlu='sudo zypper lu' #list updates
  22. alias zpchk='sudo zypper pchk' #check for patches
  23. alias zup='sudo zypper up' #update packages
  24. alias zpatch='sudo zypper patch' #install patches
  25. #Request commands
  26. alias zif='sudo zypper if' #display info about packages
  27. alias zpa='sudo zypper pa' #list packages
  28. alias zpatch-info='sudo zypper patch-info' #display info about patches
  29. alias zpattern-info='sudo zypper patch-info' #display info about patterns
  30. alias zproduct-info='sudo zypper patch-info' #display info about products
  31. alias zpch='sudo zypper pch' #list all patches
  32. alias zpd='sudo zypper pd' #list products
  33. alias zpt='sudo zypper pt' #list patterns
  34. alias zse='sudo zypper se' #search for packages
  35. alias zwp='sudo zypper wp' #list all packages providing the specified capability
  36. #Repositories commands
  37. alias zar='sudo zypper ar' #add a repository
  38. alias zcl='sudo zypper clean' #clean cache
  39. alias zlr='sudo zypper lr' #list repositories
  40. alias zmr='sudo zypper mr' #modify repositories
  41. alias znr='sudo zypper nr' #rename repositories (for the alias only)
  42. alias zref='sudo zypper ref' #refresh repositories
  43. alias zrr='sudo zypper rr' #remove repositories
  44. #Services commands
  45. alias zas='sudo zypper as' #adds a service specified by URI to the system
  46. alias zms='sudo zypper ms' #modify properties of specified services
  47. alias zrefs='sudo zypper refs' #refreshing a service mean executing the service's special task
  48. alias zrs='sudo zypper rs' #remove specified repository index service from the system
  49. alias zls='sudo zypper ls' #list services defined on the system
  50. #Package Locks Management commands
  51. alias zal='sudo zypper al' #add a package lock
  52. alias zcl='sudo zypper cl' #Remove unused locks
  53. alias zll='sudo zypper ll' #list currently active package locks
  54. alias zrl='sudo zypper rl' #remove specified package lock