Created
January 18, 2016 13:01
-
-
Save alexandreprates/acbaa96288d1e93f21f2 to your computer and use it in GitHub Desktop.
OhMyZsh lost theme
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
| # Theme by ajfprates at gmail dot com | |
| local current_dir='${PWD/#$HOME/~}' | |
| local git_info='$(git_prompt_info)' | |
| local ruby_env=' $(ruby -v | cut -d " " -f 2)' | |
| PROMPT="%{$FG[040]%}%n%{$reset_color%} %{$FG[239]%}at%{$reset_color%} %{$FG[033]%}$(hostname)%{$reset_color%} %{$FG[239]%}in%{$reset_color%} %{$terminfo[bold]$FG[226]%}${current_dir}%{$reset_color%}${git_info} %{$FG[239]%}with ruby%{$fg[red]%}${ruby_env}%{$reset_color%} | |
| >: " | |
| ZSH_THEME_GIT_PROMPT_PREFIX=" %{$FG[239]%}on%{$reset_color%} %{$fg[255]%}" | |
| ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
| ZSH_THEME_GIT_PROMPT_DIRTY="%{$FG[202]%} (dirty)" | |
| ZSH_THEME_GIT_PROMPT_CLEAN="%{$FG[040]%} (clean)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment