Logo
Explore Help
Register Sign In
mirrors/ohmyzsh
1
0
Fork 0
You've already forked ohmyzsh
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-06-03 22:04:31 +08:00
Code Issues Projects Releases Wiki Activity
ohmyzsh/themes/robbyrussell.zsh-theme

8 lines
344 B
Plaintext
Raw Normal View History

robbyrussell: restore prompt spacing (#8148)
2019-09-13 16:30:17 -05:00
PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
robbyrussell: remove local variable (#8131) Now it can be sourced in a function, like zplug.
2019-09-08 21:07:33 +08:00
PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
Added risto theme and made git.zsh themable * git.zsh is now themable: * git_prompt_info() now will look in the following variables for formatting strings: * ZSH_THEME_GIT_PROMPT_PREFIX - Prefix for the prompt (before the branch name) * ZSH_THEME_GIT_PROMPT_SUFFIX - The very end of the prompt * ZSH_THEME_GIT_PROMPT_DIRTY - Displayed when the branch is dirty * ZSH_THEME_GIT_PROMPT_CLEAN - Displayed when the branch is clean * Updated geoffgarside, robbyrussell, and maran to work with new git theme * Added the Risto theme, which is very similar to a number of bash prompts, and allows me to use zsh in with out my co-workers knowing I have the advantage. Think of it as a ninja theme.
2009-09-14 12:42:53 -04:00
Remove non-working symbols and tidy up logic
2016-02-12 23:39:47 +01:00
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]%})"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 2606ms Template: 10ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API