Created
February 17, 2020 18:57
-
-
Save nk9/f51ca621c683cf67c5b7f74ed9a90d34 to your computer and use it in GitHub Desktop.
My oh-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
setopt prompt_subst | |
PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )%{$reset_color%}" | |
PROMPT+=' %(!.%{$fg[red]%}.%{$fg[green]%})$(shrink_path -l -t)%{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%} ' | |
RPROMPT='%*' | |
ZSH_THEME_GIT_PROMPT_PREFIX=" (" | |
ZSH_THEME_GIT_PROMPT_SUFFIX=")" | |
ZSH_THEME_GIT_PROMPT_DIRTY=" ✗" | |
ZSH_THEME_GIT_PROMPT_CLEAN=" ✔" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment