mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Merge 6005d839c1 into 5667161d49
This commit is contained in:
commit
f5ab36db03
1 changed files with 15 additions and 0 deletions
15
themes/gmason.zsh-theme
Normal file
15
themes/gmason.zsh-theme
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
||||
|
||||
local userhostcolor='green'
|
||||
|
||||
local time='%{$fg[cyan]%}%T%{$reset_color%}'
|
||||
local user_host='%{$fg_bold[$userhostcolor]%}%n%{$fg[magenta]%}@%{$reset_color$fg_bold[$userhostcolor]%}%m%{$reset_color%}'
|
||||
local current_dir='%{$fg[blue]%}%~%{$reset_color%}'
|
||||
local git_branch='$(git_prompt_info)%{$reset_color%}'
|
||||
|
||||
PROMPT="${time} ${user_host} ${current_dir} ${git_branch}
|
||||
%{$fg_bold[yellow]%}%B$%b %{$reset_color%}"
|
||||
RPS1="${return_code}"
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[yellow]%}‹"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue