forked from ohmyzsh/ohmyzsh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
* upstream/master: Fix bug in compass docs search fix terminal color pollution, see issue ohmyzsh#4856 Remove non-working symbols and tidy up logic Sets spacing to 1 when git is absent for consistency Add README to dnf plugin Fix deprecated dnf commands Create dnf plugin git.plugin: remove the conflicting gvt alias Add hash imported from Update _brew to match latest pylint.plugin.zsh: Remove include-ids=y
- Loading branch information
Showing
10 changed files
with
120 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Description | ||
|
||
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`. | ||
|
||
## 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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Aliases | ||
alias pylint-quick='pylint --reports=n --include-ids=y' | ||
compdef _pylint-quick pylint-quick='pylint --reports=n --include-ids=y' | ||
alias pylint-quick='pylint --reports=n' | ||
compdef _pylint-quick pylint-quick='pylint --reports=n' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)" | ||
PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' | ||
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )" | ||
PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' | ||
|
||
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}" | ||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | ||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}" | ||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" | ||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | ||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" | ||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |