Skip to content

Instantly share code, notes, and snippets.

@ijlyttle
Last active December 10, 2022 23:36
Show Gist options
  • Save ijlyttle/7f55df53d19adcf7773d7cbdcfa5c6e5 to your computer and use it in GitHub Desktop.
Save ijlyttle/7f55df53d19adcf7773d7cbdcfa5c6e5 to your computer and use it in GitHub Desktop.

Using deno, git, virtualenv plugins

lyttle.zsh-theme:

PROMPT='%{$fg_bold[cyan]%}$(virtualenv_prompt_info)%}$(git_prompt_info) %c %{$fg_bold[white]%}%% %{$reset_color%}'

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

RPROMPT='$(git_prompt_status)%{$reset_color%}'

ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[cyan]%} ✈"
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[yellow]%} ✭"
ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%} ✗"
ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[blue]%} ➦"
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[magenta]%} ✂"
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[grey]%} ✱"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment