diff options
Diffstat (limited to 'zsh/oh-my-zsh/plugins/dnf')
-rw-r--r-- | zsh/oh-my-zsh/plugins/dnf/README.md | 29 | ||||
-rw-r--r-- | zsh/oh-my-zsh/plugins/dnf/dnf.plugin.zsh | 15 |
2 files changed, 0 insertions, 44 deletions
diff --git a/zsh/oh-my-zsh/plugins/dnf/README.md b/zsh/oh-my-zsh/plugins/dnf/README.md deleted file mode 100644 index dc0d1e0..0000000 --- a/zsh/oh-my-zsh/plugins/dnf/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# dnf plugin - -This plugin makes `dnf` usage easier by adding aliases for the most common commands. - -`dnf` is the new package manager for RPM-based distributions, which replaces `yum`. - -To use it, add `dnf` to the plugins array in your zshrc file: - -```zsh -plugins=(... dnf) -``` - -## Aliases - -| Alias | Command | Description | -|-------|-------------------------|--------------------------| -| dnfl | `dnf list` | List packages | -| dnfli | `dnf list installed` | List installed packages | -| dnfgl | `dnf grouplist` | List package groups | -| dnfmc | `dnf makecache` | Generate metadata cache | -| dnfp | `dnf info` | Show package information | -| dnfs | `dnf search` | Search package | -| **Use `sudo`** | -| dnfu | `sudo dnf upgrade` | Upgrade package | -| dnfi | `sudo dnf install` | Install package | -| dnfgi | `sudo dnf groupinstall` | Install package group | -| dnfr | `sudo dnf remove` | Remove package | -| dnfgr | `sudo dnf groupremove` | Remove package group | -| dnfc | `sudo dnf clean all` | Clean cache | diff --git a/zsh/oh-my-zsh/plugins/dnf/dnf.plugin.zsh b/zsh/oh-my-zsh/plugins/dnf/dnf.plugin.zsh deleted file mode 100644 index 653ce7d..0000000 --- a/zsh/oh-my-zsh/plugins/dnf/dnf.plugin.zsh +++ /dev/null @@ -1,15 +0,0 @@ -## Aliases - -alias dnfl="dnf list" # List packages -alias dnfli="dnf list installed" # List installed packages -alias dnfgl="dnf grouplist" # List package groups -alias dnfmc="dnf makecache" # Generate metadata cache -alias dnfp="dnf info" # Show package information -alias dnfs="dnf search" # Search package - -alias dnfu="sudo dnf upgrade" # Upgrade package -alias dnfi="sudo dnf install" # Install package -alias dnfgi="sudo dnf groupinstall" # Install package group -alias dnfr="sudo dnf remove" # Remove package -alias dnfgr="sudo dnf groupremove" # Remove package group -alias dnfc="sudo dnf clean all" # Clean cache |