Customize bira.zsh-theme

This commit is contained in:
Vibol T 2014-06-24 12:01:24 +07:00
commit 9ee70ab296

View file

@ -1,6 +1,6 @@
# ZSH Theme - Preview: http://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
local return_code='%(?..%{$fg[red]%}%? ↵%{$reset_color%})'
local date_time='%{$fg[yellow]%}%D %T$terminfo[bold]$fg[blue]%} #%{$fg[white]%}%{$reset_color%}'
local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}'
local current_dir='%{$terminfo[bold]$fg[blue]%} %~%{$reset_color%}'
local rvm_ruby=''
@ -13,7 +13,7 @@ else
fi
local git_branch='$(git_prompt_info)%{$reset_color%}'
PROMPT="╭─${user_host} ${current_dir} ${rvm_ruby} ${git_branch}
PROMPT="╭─ ${date_time} ${user_host} ${current_dir} ${rvm_ruby} ${git_branch}
╰─%B$%b "
RPS1="${return_code}"