From aa295f182dbceb8e97703d393b9c773db70d403d Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Sat, 5 Sep 2026 16:13:07 -0700 Subject: [PATCH] fix(suse): remove zcl definition shadowed by the locks alias zcl was defined twice: 'zypper clean' in the repositories section and 'zypper cl' (cleanlocks) in the package locks section. The second wins, so the first has never had any effect, and the README documented both meanings. Drop the dead definition and the README row that described behaviour the plugin does not have. zcl keeps working exactly as it does today. Co-Authored-By: Claude Opus 5 (1M context) --- plugins/suse/README.md | 1 - plugins/suse/suse.plugin.zsh | 1 - 2 files changed, 2 deletions(-) diff --git a/plugins/suse/README.md b/plugins/suse/README.md index e1e3aad29..359716989 100644 --- a/plugins/suse/README.md +++ b/plugins/suse/README.md @@ -71,7 +71,6 @@ Related: [#9798](https://github.com/ohmyzsh/ohmyzsh/pull/9798). | 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) | diff --git a/plugins/suse/suse.plugin.zsh b/plugins/suse/suse.plugin.zsh index 56bc6f1c5..7407a04d5 100644 --- a/plugins/suse/suse.plugin.zsh +++ b/plugins/suse/suse.plugin.zsh @@ -38,7 +38,6 @@ 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'