Created
June 2, 2022 00:11
-
-
Save Imorate/50d12d71960c6263b1573e8a963f7561 to your computer and use it in GitHub Desktop.
Imozsh theme based on Skill theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
GREEN="%{$fg_bold[green]%}" | |
YELLOW="%{$fg_bold[yellow]%}" | |
CYAN="%{$fg_bold[cyan]%}" | |
RED="%{$fg_bold[red]%}" | |
WHITE="%{$fg_bold[white]%}" | |
RESET="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_PREFIX="$WHITE " | |
ZSH_THEME_GIT_PROMPT_SUFFIX="$RESET" | |
ZSH_THEME_GIT_PROMPT_DIRTY=" $YELLOW⬢ " | |
ZSH_THEME_GIT_PROMPT_CLEAN=" $WHITE⬢ " | |
ZSH_THEME_GIT_COMMITS_BEHIND_PREFIX="$RED⥥ " | |
ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE="$(git_commits_behind)" | |
ZSH_THEME_GIT_COMMITS_BEHIND_SUFFIX="$RESET" | |
ZSH_THEME_GIT_COMMITS_AHEAD_PREFIX="$GREEN⥣ " | |
ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE="$(git_commits_ahead)" | |
ZSH_THEME_GIT_COMMITS_AHEAD_SUFFIX="$RESET" | |
PROMPT='%(?:$WHITE⚡:$RED⚡) ' | |
PROMPT+='$YELLOW%c $RESET$(git_prompt_info)$RESET ' RPROMPT='$(git_commits_ahead)$(git_commits_behind)$RESET' | |
# vim:ft=zsh ts=2 sw=2 sts=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment