Created
February 27, 2024 14:22
-
-
Save codeslinger/8618a91a704dc2aac418fde8f28a1e0c to your computer and use it in GitHub Desktop.
OMZ theme
This file contains hidden or 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
# Color shortcuts | |
RED=$fg[red] | |
YELLOW=$fg[yellow] | |
GREEN=$fg[green] | |
WHITE=$fg[white] | |
BLUE=$fg[blue] | |
CYAN=$fg[cyan] | |
RED_BOLD=$fg_bold[red] | |
YELLOW_BOLD=$fg_bold[yellow] | |
GREEN_BOLD=$fg_bold[green] | |
WHITE_BOLD=$fg_bold[white] | |
BLUE_BOLD=$fg_bold[blue] | |
RESET_COLOR=$reset_color | |
# Format for git_prompt_info() | |
ZSH_THEME_GIT_PROMPT_PREFIX="" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="" | |
# Format for parse_git_dirty() | |
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$RED%}(*)" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
# Prompt format | |
#PROMPT='%{$GREEN_BOLD%}%n@%m%{$WHITE%}:%{$YELLOW%}%~%u$(parse_git_dirty)$(git_prompt_ahead)%{$RESET_COLOR%} | |
#%{$BLUE%}>%{$RESET_COLOR%} ' | |
PROMPT='%{$YELLOW%}%T %{$GREEN_BOLD%}%n@%m%{$WHITE%}: %{$CYAN%}%~%u %{$WHITE%}%{$YELLOW%}$(git_current_branch)%{$WHITE%}$(parse_git_dirty)%{$RESET_COLOR%} | |
> ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment