Skip to content

Instantly share code, notes, and snippets.

@yossale
Last active February 7, 2016 15:34
Show Gist options
  • Save yossale/269779237f060d236763 to your computer and use it in GitHub Desktop.
Save yossale/269779237f060d236763 to your computer and use it in GitHub Desktop.
My robbyrussell.zsh-theme adapted prompt line: timestamp, pwd, last cmd status => 10:26:26 tmp_code ➜
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
PROMPT='$fg[white]%* %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)${ret_status}%{$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]%})"
@yossale
Copy link
Author

yossale commented Jul 23, 2015

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment