Created
January 19, 2020 23:33
-
-
Save ajrequenez/eba86ee361730e146241745ad34af829 to your computer and use it in GitHub Desktop.
Custom oh-my-zsh theme which sets my prompt to include a Texas Flag
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]%}➜ )" | |
local tex_flag="%{$bg[blue]%}*%{$reset_color%}%{$bg[red]%}▀▀%{$reset_color%} " | |
PROMPT='╭ ${tex_flag} %{$fg[green]%}%~%{$reset_color%} $(git_prompt_info) | |
╰─ ${ret_status}%{$reset_color%}' | |
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]%})" |
Author
ajrequenez
commented
Jan 19, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment