Skip to content

Instantly share code, notes, and snippets.

@esperia
Last active December 31, 2015 20:39
Show Gist options
  • Save esperia/8041409 to your computer and use it in GitHub Desktop.
Save esperia/8041409 to your computer and use it in GitHub Desktop.
ゆの's prompt
## yuno's prompt
# Based: kardan
PS_OK=$'\n'$'%F{yellow}✖╹◡╹✖ %F{magenta}☆☆☆ %F{nomal}'
PS_NG=$'\n'$'%F{red}✖X_X✖ %F{magenta}☆☆☆ %F{nomal}'
PS1="%0(?|${PS_OK}|${PS_NG})"
RPROMPT='[%F{green}%~%F{nomal}%F{blue}$(git_prompt_info)%F{normal}]'
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_PREFIX=" ("
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
@esperia
Copy link
Author

esperia commented Dec 20, 2013

Yuno

$ curl -L https://gist.github.com/esperia/8041409/raw/4bd78e45b5fe2e59a976c8b9d516d7e4d4b52325/yuno.zsh-theme > ~/.oh-my-zsh/themes/yuno.zsh-theme
$ vim ~/.zshrc

Replace : ZSH_THEME="robbyrussell" to ZSH_THEME="yuno"

see https://gist.github.com/Shinpeim/1340086
and http://qiita.com/udzura/items/0d08d71d809bfd8c5981

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment