Last active
September 21, 2017 22:12
-
-
Save 0x3333/21c989baa4aa09d57d30df588c20a8c0 to your computer and use it in GitHub Desktop.
Prezto Prompt
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
# | |
# Authors: | |
# Tercio Gaudencio Filho <[email protected]> | |
# | |
# Ex: | |
# USERNAME@HOSTNAME [/FULL/PATH] ✘ $ TIME | |
function prompt_0x3333_setup { | |
setopt LOCAL_OPTIONS | |
unsetopt XTRACE KSH_ARRAYS | |
prompt_opts=(cr percent sp subst) # http://zsh.sourceforge.net/Doc/Release/Options.html#Prompting | |
# Define prompts. | |
PROMPT='%n@%M %F{cyan}[%/]%f %(?:%F{green}➜ %f:%F{red}✘ %f) %(1j:%F{cyan}⚙ %f:) $ ' | |
RPROMPT='%B%F{white}%*%f%b' | |
} | |
prompt_0x3333_setup "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment