mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
added my theme
This commit is contained in:
parent
dee8171fa9
commit
052d3053a4
1 changed files with 10 additions and 0 deletions
10
themes/pedrovanzella.zsh-theme
Normal file
10
themes/pedrovanzella.zsh-theme
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
local rvm_ruby='%{$fg[white]%}[%{$fg[green]%}$(~/.rvm/bin/rvm-prompt)%{$fg[white]%}]%{$reset_color%}'
|
||||
local user_at_host='%{$fg[cyan]%}%n%{$reset_color%}@%{$fg[yellow]%}%m%{$reset_color%}'
|
||||
local current_dir='%{$fg[green]%}${PWD/#$HOME/~}%{$reset_color%}'
|
||||
local git_prompt='%{$fg[cyan]%} $(git_prompt_info)%{$reset_color%}'
|
||||
|
||||
PROMPT="${user_at_host}${rvm_ruby}:${current_dir}${git_prompt} %(!.#.$) "
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[cyan]%}git:("
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue