Created
August 26, 2012 13:39
-
-
Save subosito/3479440 to your computer and use it in GitHub Desktop.
personal 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
# | |
# _ _ | |
# | | (_) _ | |
# ___ _ _| |__ ___ ___ _ _| |_ ___ | |
# /___) | | | _ \ / _ \ /___) (_ _) _ \ | |
# |___ | |_| | |_) ) |_| |___ | | | || |_| | | |
# (___/|____/|____/ \___/(___/|_| \__)___/ | |
# | |
# | |
local path_status="%{$fg[cyan]%}%c%{$reset_color%}" | |
local command_separator=" %(!.%{$fg_bold[red]%}#.%{$fg_bold[green]%}>)%{$reset_color%} " | |
local return_status="%{$fg[red]%}%(?.. <>)%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}:" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
PROMPT='${path_status}$(git_prompt_info)$(git_prompt_status)${return_status}${command_separator}' | |
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%} +" | |
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[blue]%} *" | |
ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%} -" | |
ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[magenta]%} >" | |
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[yellow]%} #" | |
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[cyan]%} ^" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment