Skip to content

Instantly share code, notes, and snippets.

@kelmandor
Last active December 19, 2015 17:19
Show Gist options
  • Select an option

  • Save kelmandor/5990821 to your computer and use it in GitHub Desktop.

Select an option

Save kelmandor/5990821 to your computer and use it in GitHub Desktop.
this is my custom oh-my-zsh theme that we use at crossrider so that the command line will have THE TIME when we issued commands.
# file name: dk.zsh-theme
# in file ~/.zshrc change/add this line: ZSH_THEME="dk"
# Adding time stamp to the russel theme.
PROMPT='%{$fg_bold[yellow]%}%T% %{$fg_bold[red]%} DorIsCool ➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
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