my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
6.0 KiB

3 years ago
  1. # suse
  2. **Maintainer**: [r-darwish](https://github.com/r-darwish)
  3. Alias for Zypper according to the official Zypper's alias
  4. To use it add `suse` to the plugins array in you zshrc file.
  5. ```zsh
  6. plugins=(... suse)
  7. ```
  8. ## Main commands
  9. | Alias | Commands | Description |
  10. | ---------------- | ----------------------------- | -------------------------------------------------------------- |
  11. | z | `sudo zypper` | call zypper |
  12. | zh | `zypper -h` | print help |
  13. | zhse | `zypper -h se` | print help for the search command |
  14. | zlicenses | `zypper licenses` | prints a report about licenses and EULAs of installed packages |
  15. | zps | `sudo zypper ps` | list process using deleted files |
  16. | zshell | `sudo zypper shell` | open a zypper shell session |
  17. | zsource-download | `sudo zypper source-download` | download source rpms for all installed packages |
  18. | ztos | `zypper tos` | shows the ID string of the target operating system |
  19. | zvcmp | `zypper vcmp` | tell whether version1 is older or newer than version2 |
  20. ## Packages commands
  21. | Alias | Commands | Description |
  22. | ----- | ----------------- | ------------------------------------------------------------------ |
  23. | zin | `sudo zypper in` | install packages |
  24. | zinr | `sudo zypper inr` | install newly added packages recommended by already installed ones |
  25. | zrm | `sudo zypper rm` | remove packages |
  26. | zsi | `sudo zypper si` | install source of a package |
  27. | zve | `sudo zypper ve` | verify dependencies of installed packages |
  28. ## Updates commands
  29. | Alias | Commands | Description |
  30. | ------ | ------------------- | ---------------------- |
  31. | zdup | `sudo zypper dup` | upgrade packages |
  32. | zlp | `zypper lp` | list necessary patches |
  33. | zlu | `zypper lu` | list updates |
  34. | zpchk | `sudo zypper pchk` | check for patches |
  35. | zup | `sudo zypper up` | update packages |
  36. | zpatch | `sudo zypper patch` | install patches |
  37. ## Request commands
  38. | Alias | Commands | Description |
  39. | ------------- | -------------------------- | ---------------------------------------------------- |
  40. | zif | `zypper if` | display info about packages |
  41. | zpa | `zypper pa` | list packages |
  42. | zpatch-info | `zypper patch-info` | display info about patches |
  43. | zpattern-info | `zypper pattern-info` | display info about patterns |
  44. | zproduct-info | `zypper product-info` | display info about products |
  45. | zpch | `zypper pch` | list all patches |
  46. | zpd | `zypper pd` | list products |
  47. | zpt | `zypper pt` | list patterns |
  48. | zse | `zypper se` | search for packages |
  49. | zwp | `zypper wp` | list all packages providing the specified capability |
  50. NOTE: `--no-refresh` is passed to zypper for speeding up the calls and avoid errors due to lack
  51. of root privileges. If you need to refresh the repositories, call `sudo zypper ref` (`zref` alias)
  52. before running these aliases.
  53. Related: [#9798](https://github.com/ohmyzsh/ohmyzsh/pull/9798).
  54. ## Repositories commands
  55. | Alias | Commands | Description |
  56. | ----- | ------------------- | ---------------------------------------- |
  57. | zar | `sudo zypper ar` | add a repository |
  58. | zcl | `sudo zypper clean` | clean cache |
  59. | zlr | `zypper lr` | list repositories |
  60. | zmr | `sudo zypper mr` | modify repositories |
  61. | znr | `sudo zypper nr` | rename repositories (for the alias only) |
  62. | zref | `sudo zypper ref` | refresh repositories |
  63. | zrr | `sudo zypper rr` | remove repositories |
  64. ## Services commands
  65. | Alias | Commands | Description |
  66. | ----- | ------------------ | -------------------------------------------------------------- |
  67. | zas | `sudo zypper as` | adds a service specified by URI to the system |
  68. | zms | `sudo zypper ms` | modify properties of specified services |
  69. | zrefs | `sudo zypper refs` | refreshing a service mean executing the service's special task |
  70. | zrs | `sudo zypper rs` | remove specified repository index service from the system |
  71. | zls | `zypper ls` | list services defined on the system |
  72. ## Package Locks Management commands
  73. | Alias | Commands | Description |
  74. | ----- | ---------------- | ----------------------------------- |
  75. | zal | `sudo zypper al` | add a package lock |
  76. | zcl | `sudo zypper cl` | remove unused locks |
  77. | zll | `zypper ll` | list currently active package locks |
  78. | zrl | `sudo zypper rl` | remove specified package lock |