Created
July 18, 2018 02:02
-
-
Save josh-kaplan/00708678a34b8efa0dcd410d1cd1be01 to your computer and use it in GitHub Desktop.
My 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 ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )%{$reset_color%}" | |
local user="%{$FG[236]%}%n%{$fg[white]%}@%{$FG[236]%}%m%{$reset_color%}" | |
local pwd="%{$fg[blue]%}%c%{$reset_color%}" | |
PROMPT='${ret_status}%{$fg_bold[grey]%}${user} ${pwd} $(git_prompt_info)' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$FG[134]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[green]%}+%{$reset_color%}/%{$fg[red]%}-" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment