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
# Add this line at the beginning of your theme file to define the parse_git_dirty function if it's not already defined | |
autoload -Uz vcs_info | |
precmd() { vcs_info } | |
# Personalized Zsh Theme | |
DALLAS_CURRENT_TIME_="%{$fg[red]%}%D{%Y-%m-%d} %D{%H:%M:%S}%{$reset_color%} " | |
DALLAS_CURRENT_LOCA_="%{$fg[green]%}%~ %{$fg[yellow]%}%B\$(git_prompt_info)%b%{$fg[white]%}$(parse_git_dirty)%{$reset_color%}" | |
DALLAS_PROMPT_CHAR_=" %(!.#.%%)%{$fg[white]%} " | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[white]%}@%{$fg[yellow]%}" |