mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
SCREENSHOTS: Dark terminal theme: http://imgur.com/wzZO6,rxHHO#0 Light terminal theme: http://imgur.com/wzZO6,rxHHO#1
17 lines
665 B
Bash
17 lines
665 B
Bash
local user='%B%m %b%{$reset_color%}'
|
|
local pwd='%B%{$fg[blue]%}%~%b%{$reset_color%}'
|
|
local git='%B$(git_prompt_info)$(git_prompt_status)%b%{$reset_color%}'
|
|
|
|
PROMPT="${user}${pwd}${git}%B $ %b%{$reset_color%}"
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%} "
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
|
ZSH_THEME_GIT_PROMPT_DIRTY=""
|
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
|
|
|
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%} ✚"
|
|
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[blue]%} ✹"
|
|
ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%} ✖"
|
|
ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[magenta]%} ➜"
|
|
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[yellow]%} ═"
|
|
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[cyan]%} ✭"
|