chezmoi init
This commit is contained in:
commit
530d6d7195
1176 changed files with 111325 additions and 0 deletions
98
dot_oh-my-zsh/plugins/suse/README.md
Normal file
98
dot_oh-my-zsh/plugins/suse/README.md
Normal file
|
@ -0,0 +1,98 @@
|
|||
# suse
|
||||
|
||||
Aliases for [Zypper](https://en.opensuse.org/Portal:Zypper) according to the official Zypper's alias
|
||||
|
||||
To use it add `suse` to the plugins array in you zshrc file.
|
||||
|
||||
```zsh
|
||||
plugins=(... suse)
|
||||
```
|
||||
|
||||
**Maintainer**: [r-darwish](https://github.com/r-darwish)
|
||||
|
||||
## 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.
|
||||
|
||||
Related: [#9798](https://github.com/ohmyzsh/ohmyzsh/pull/9798).
|
||||
|
||||
## Repositories commands
|
||||
|
||||
| Alias | Commands | Description |
|
||||
| ----- | ------------------- | ---------------------------------------- |
|
||||
| zar | `sudo zypper ar` | add a repository |
|
||||
| zcl | `sudo zypper clean` | clean cache |
|
||||
| zlr | `zypper lr` | list repositories |
|
||||
| zmr | `sudo zypper mr` | modify repositories |
|
||||
| znr | `sudo zypper nr` | rename repositories (for the alias only) |
|
||||
| zref | `sudo zypper ref` | refresh repositories |
|
||||
| zrr | `sudo zypper rr` | remove repositories |
|
||||
|
||||
## Services commands
|
||||
|
||||
| Alias | Commands | Description |
|
||||
| ----- | ------------------ | -------------------------------------------------------------- |
|
||||
| zas | `sudo zypper as` | adds a service specified by URI to the system |
|
||||
| zms | `sudo zypper ms` | modify properties of specified services |
|
||||
| zrefs | `sudo zypper refs` | refreshing a service mean executing the service's special task |
|
||||
| zrs | `sudo zypper rs` | remove specified repository index service from the system |
|
||||
| zls | `zypper ls` | list services defined on the system |
|
||||
|
||||
## Package Locks Management commands
|
||||
|
||||
| Alias | Commands | Description |
|
||||
| ----- | ---------------- | ----------------------------------- |
|
||||
| zal | `sudo zypper al` | add a package lock |
|
||||
| zcl | `sudo zypper cl` | remove unused locks |
|
||||
| zll | `zypper ll` | list currently active package locks |
|
||||
| zrl | `sudo zypper rl` | remove specified package lock |
|
59
dot_oh-my-zsh/plugins/suse/suse.plugin.zsh
Normal file
59
dot_oh-my-zsh/plugins/suse/suse.plugin.zsh
Normal file
|
@ -0,0 +1,59 @@
|
|||
#Main commands
|
||||
alias z='sudo zypper'
|
||||
alias zh='zypper -h'
|
||||
alias zhse='zypper -h se'
|
||||
alias zlicenses='zypper licenses'
|
||||
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
|
||||
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
|
||||
alias zdup='sudo zypper dup'
|
||||
alias zlp='zypper lp'
|
||||
alias zlu='zypper lu'
|
||||
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
|
||||
alias zar='sudo zypper ar'
|
||||
alias zcl='sudo zypper clean'
|
||||
alias zlr='zypper lr'
|
||||
alias zmr='sudo zypper mr'
|
||||
alias znr='sudo zypper nr'
|
||||
alias zref='sudo zypper ref'
|
||||
alias zrr='sudo zypper rr'
|
||||
|
||||
#Services commands
|
||||
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
|
||||
alias zal='sudo zypper al'
|
||||
alias zcl='sudo zypper cl'
|
||||
alias zll='zypper ll'
|
||||
alias zrl='sudo zypper rl'
|
Loading…
Add table
Add a link
Reference in a new issue