Last active
August 18, 2019 05:39
-
-
Save akofink/3c9dbb65826eeb632a5250ce38a5fb8e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# curl -o ~/.oh-my-zsh/custom/themes/akofink.zsh-theme https://gist.github.com/akofink/3c9dbb65826eeb632a5250ce38a5fb8e/raw/1cdd0136aa2e866da763d62d913e898103cb4d43/akofink.zsh-theme | |
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[green]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}⚡" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
function prompt_char { | |
if [ $UID -eq 0 ]; then echo "%{$fg[red]%}#%{$reset_color%}"; else echo $; fi | |
} | |
PROMPT='%(?, ,%{$fg[red]%}FAIL: $?%{$reset_color%} | |
) | |
%{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%}$(git_prompt_info) %_$(prompt_char) ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment