Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
b75b0b88
Commit
b75b0b88
authored
Sep 26, 2015
by
Robby Russell
Browse files
Merge pull request #4333 from mbologna/fedora_plugin
Added fedora plugin, based on dnf/yum plugin
parents
935948cf
6170fa41
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/fedora/README.md
0 → 100644
View file @
b75b0b88
This is a plugin based on yum plugin, but using dnf as main frontend
(from Fedora 22 onwards, yum is deprecated in favor of dnf).
plugins/fedora/fedora.plugin.zsh
0 → 100644
View file @
b75b0b88
## Aliases
alias
dnfs
=
"dnf search"
# search package
alias
dnfp
=
"dnf info"
# show package info
alias
dnfl
=
"dnf list"
# list packages
alias
dnfgl
=
"dnf grouplist"
# list package groups
alias
dnfli
=
"dnf list installed"
# print all installed packages
alias
dnfmc
=
"dnf makecache"
# rebuilds the dnf package list
alias
dnfu
=
"sudo dnf upgrade"
# upgrade packages
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 pagage group
alias
dnfrl
=
"sudo dnf remove --remove-leaves"
# remove package and leaves
alias
dnfc
=
"sudo dnf clean all"
# clean cache
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment