-
-
Save JM-Mendez/97563d5475bfb7e005358bb9246228b2 to your computer and use it in GitHub Desktop.
Zsh 'raw' theme [ZSH theme] #zsh #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
# Copied and modified from https://dev.to/cravacuore/comment/i7g0 | |
# Inspired by making a mixture the following themes: | |
# robbyrussell + arrow + lambda | |
# changing some colors and elements positions | |
local ret_status="%(?:%{$fg_bold[grey]%}λ :%{$fg_bold[red]%} λ )" | |
# ellipsis https://github.com/ohmyzsh/ohmyzsh/issues/7525#issuecomment-456074298 | |
PROMPT=' ${ret_status}%{$fg[magenta]%}%c %{$fg[black]%}git:(%{$fg[cyan]%}%30>...>$(git_current_branch)%>>%{$fg[black]%}$(parse_git_dirty)%{$reset_color%} ➤ %{$reset_color%}' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[grey]%}git:(%{$fg[cyan]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[grey]%}) %{$fg[yellow]%}✗" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[grey]%})" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment