mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	Merge pull request #4333 from mbologna/fedora_plugin
Added fedora plugin, based on dnf/yum plugin
This commit is contained in:
		
							
								
								
									
										3
									
								
								plugins/fedora/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								plugins/fedora/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| 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). | ||||
|   | ||||
							
								
								
									
										16
									
								
								plugins/fedora/fedora.plugin.zsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								plugins/fedora/fedora.plugin.zsh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| ## 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 | ||||
		Reference in New Issue
	
	Block a user