Skip to content

Instantly share code, notes, and snippets.

@ajrequenez
Created January 19, 2020 23:33
Show Gist options
  • Save ajrequenez/eba86ee361730e146241745ad34af829 to your computer and use it in GitHub Desktop.
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
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]%})"
@ajrequenez
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment