Skip to content

Instantly share code, notes, and snippets.

@nk9
Created February 17, 2020 18:57
Show Gist options
  • Select an option

  • Save nk9/f51ca621c683cf67c5b7f74ed9a90d34 to your computer and use it in GitHub Desktop.

Select an option

Save nk9/f51ca621c683cf67c5b7f74ed9a90d34 to your computer and use it in GitHub Desktop.

Revisions

  1. nk9 created this gist Feb 17, 2020.
    9 changes: 9 additions & 0 deletions nick.zsh-theme
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    setopt prompt_subst
    PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )%{$reset_color%}"
    PROMPT+=' %(!.%{$fg[red]%}.%{$fg[green]%})$(shrink_path -l -t)%{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%} '
    RPROMPT='%*'

    ZSH_THEME_GIT_PROMPT_PREFIX=" ("
    ZSH_THEME_GIT_PROMPT_SUFFIX=")"
    ZSH_THEME_GIT_PROMPT_DIRTY=""
    ZSH_THEME_GIT_PROMPT_CLEAN=""