Last active
April 24, 2022 12:16
-
-
Save k9ert/f7086f5883ea1e3fab107c0b2c6218c8 to your computer and use it in GitHub Desktop.
robbyrussell.zsh-theme
This file contains hidden or 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
PROMPT="$USER@%M" | |
PROMPT+="%(?:%{$fg_bold[green]%}➜ : %{$fg_bold[red]%}➜ )" | |
PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' | |
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]%})" |
Related:
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
sed -i 's/plugins=(git)/plugins=(docker-compose docker helm history-substring-search kubectl python systemd vault zsh-autosuggestions git)/' ~/.zshrc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's my adjustment for the robby russel theme.