Last active
December 18, 2015 14:49
-
-
Save goyalankit/5799538 to your computer and use it in GitHub Desktop.
Minimalistic Prezto 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
# | |
# Author: | |
# Ankit Goyal <ankit3goyal@gmail.com> | |
# | |
# Minimalistic theme with no bullshit | |
function prompt_goyalankit_setup { | |
local user_char='%%' | |
local success_color='%F{071}' | |
local failure_color='%F{124}' | |
## Define prompts. | |
PROMPT="%(?.${success_color}.${failure_color})""%{%F{red}%}${user_char}%f " | |
RPROMPT="%F{cyan}"'%c'"" | |
} | |
prompt_goyalankit_setup "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment