Skip to content

Instantly share code, notes, and snippets.

@johnantoni
Created August 20, 2012 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnantoni/3399951 to your computer and use it in GitHub Desktop.
Save johnantoni/3399951 to your computer and use it in GitHub Desktop.
zsh prompt + rbenv
# Prompt
# local smiley="%(?,%{$fg[green]%}☺%{$reset_color%},%{$fg[red]%}☹%{$reset_color%})"
# PROMPT='
# %~
# ${smiley} %{$reset_color%}'
# RBENV
# RPROMPT='%{$fg[white]%} $(rbenv version-name)$(~/.dotfiles/bin/git-cwd-info.rb)%{$reset_color%}'
@yaroslavrick
Copy link

How to use it?

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