Skip to content

Instantly share code, notes, and snippets.

@sepbot
Created October 30, 2023 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sepbot/9499df7906c2b15dc07595e9994f659a to your computer and use it in GitHub Desktop.
Save sepbot/9499df7906c2b15dc07595e9994f659a to your computer and use it in GitHub Desktop.
roomy zsh prompt
PROMPT=$'\n'
PROMPT+=' %{$fg[yellow]%}%n@%m%{$reset_color%}'
PROMPT+=' %{$fg[cyan]%}%~%{$reset_color%} $(git_prompt_info)'
PROMPT+=$'\n'" "
PROMPT+="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT+="%{$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]%})"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment