Skip to content

Instantly share code, notes, and snippets.

@ismdeep
Created November 16, 2020 07:38
Show Gist options
  • Save ismdeep/87e9c4fc31d1378f0ea2b2c25c99f07d to your computer and use it in GitHub Desktop.
Save ismdeep/87e9c4fc31d1378f0ea2b2c25c99f07d to your computer and use it in GitHub Desktop.
tiny.zsh-theme
PROMPT=$'
%{$fg_bold[green]%}%n@%m %{$fg[blue]%}%D{[%H:%M:%S]} %{$reset_color%}%{$fg[white]%}[%~]%{$reset_color%} $(git_prompt_info)\
%(!.#.$) '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}["
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}*%{$fg[green]%}"
ZSH_THEME_GIT_PROMPT_CLEAN=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment