summaryrefslogtreecommitdiff
path: root/plugins/suse/README.md
diff options
context:
space:
mode:
authorIlya Bizyaev <bizyaev@zoho.com>2021-08-20 13:25:58 +0300
committerGitHub <noreply@github.com>2021-08-20 12:25:58 +0200
commit6d5b8484ce7198161d5f617c3db9fd7d3833d48c (patch)
treec483361a1d14bd6436c08670a7d44ec26b5d7ba2 /plugins/suse/README.md
parentcbb534267aca09fd123635fc39a7d00c0e21a5f7 (diff)
downloadzsh-6d5b8484ce7198161d5f617c3db9fd7d3833d48c.tar.gz
zsh-6d5b8484ce7198161d5f617c3db9fd7d3833d48c.tar.bz2
zsh-6d5b8484ce7198161d5f617c3db9fd7d3833d48c.zip
fix(suse): avoid refresh attempts for Zypper queries (#9798)
Diffstat (limited to 'plugins/suse/README.md')
-rw-r--r--plugins/suse/README.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/suse/README.md b/plugins/suse/README.md
index b9b069574..06c6d9ef5 100644
--- a/plugins/suse/README.md
+++ b/plugins/suse/README.md
@@ -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 |