Skip to content

Instantly share code, notes, and snippets.

@k9ert
Last active April 24, 2022 12:16
Show Gist options
  • Save k9ert/f7086f5883ea1e3fab107c0b2c6218c8 to your computer and use it in GitHub Desktop.
Save k9ert/f7086f5883ea1e3fab107c0b2c6218c8 to your computer and use it in GitHub Desktop.
robbyrussell.zsh-theme
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]%})"
@k9ert
Copy link
Author

k9ert commented Apr 24, 2022

That's my adjustment for the robby russel theme.

curl -o ~/.oh-my-zsh/custom/themes/robbyrussell.zsh-theme  https://gist.githubusercontent.com/k9ert/f7086f5883ea1e3fab107c0b2c6218c8/raw/798d03243061c870fb1860d6c1fc42377548d817/robbyrussell.zsh-theme

@k9ert
Copy link
Author

k9ert commented Apr 24, 2022

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