mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 03:24:22 +08:00
fix(suse): avoid refresh attempts for Zypper queries (#9798)
This commit is contained in:
1 parent
cbb534267a
commit
6d5b8484ce
2 files changed
+18
-12
No files matched your search
@@ -2,9 +2,9 @@
|
||||
|
||||
**Maintainer**: [r-darwish](https://github.com/r-darwish)
|
||||
|
||||
Alias for Zypper according to the official Zypper's alias
|
||||
Alias for Zypper according to the official Zypper's alias
|
||||
|
||||
To use it add `suse` to the plugins array in you zshrc file.
|
||||
To use it add `suse` to the plugins array in you zshrc file.
|
||||
|
||||
```zsh
|
||||
plugins=(... suse)
|
||||
@@ -60,6 +60,12 @@ plugins=(... suse)
|
||||
| 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 runing these aliases.
|
||||
|
||||
Related: [#9798](https://github.com/ohmyzsh/ohmyzsh/pull/9798).
|
||||
|
||||
## Repositories commands
|
||||
|
||||
| Alias | Commands | Description |
|
||||
|
||||
Reference in new issue
Block a user