Parent directory

murilasso.zsh-theme

611 bytes
 1local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
 2local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}'
 3local current_dir='%{$terminfo[bold]$fg[blue]%}%~%{$reset_color%}'
 4local rvm_ruby='%{$fg[red]%}$(ruby_prompt_info)%{$reset_color%}'
 5local git_branch='%{$fg[blue]%}$(git_prompt_info)%{$reset_color%}'
 6
 7PROMPT="${user_host}:${current_dir} ${rvm_ruby}
 8${git_branch} %B$%b "
 9RPS1="${return_code}"
10
11ZSH_THEME_GIT_PROMPT_PREFIX=""
12ZSH_THEME_GIT_PROMPT_SUFFIX=""
13ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗%{$reset_color%}"
14ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔%{$reset_color%}"