Last active
August 29, 2015 14:13
-
-
Save dmglab/8dc10624c530df61e115 to your computer and use it in GitHub Desktop.
dmglab.zsh-theme
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
# Copyright (c) 2015 Daniel M. Gehrlein | |
# http://dmg.mit-license.org/ | |
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%}' | |
RPROMPT='$(nvm_prompt_info)$(virtualenv_prompt_info)% %{$reset_color%}' | |
ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg[red]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}*%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) " | |
ZSH_THEME_NVM_PROMPT_PREFIX="%{$fg[white]%}[" | |
ZSH_THEME_NVM_PROMPT_SUFFIX="] " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment