You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
918 B
25 lines
918 B
# terminal coloring |
|
export CLICOLOR=1 |
|
export LSCOLORS=dxFxCxDxBxegedabagacad |
|
|
|
local git_branch='$(git_prompt_info)%{$reset_color%}$(git_remote_status)' |
|
|
|
PROMPT="%{$fg[green]%}╭─%n@%m %{$reset_color%}%{$fg[yellow]%}in %~ %{$reset_color%}${git_branch} |
|
%{$fg[green]%}╰\$ %{$reset_color%}" |
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[yellow]%}on " |
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" |
|
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$reset_color%}%{$fg[red]%} ✘ %{$reset_color%}" |
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%} ✔ %{$reset_color%}" |
|
|
|
ZSH_THEME_GIT_PROMPT_REMOTE_STATUS_DETAILED=true |
|
ZSH_THEME_GIT_PROMPT_REMOTE_STATUS_PREFIX="%{$fg[yellow]%}(" |
|
ZSH_THEME_GIT_PROMPT_REMOTE_STATUS_SUFFIX="%{$fg[yellow]%})%{$reset_color%}" |
|
|
|
ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE=" +" |
|
ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE_COLOR=%{$fg[green]%} |
|
|
|
ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE=" -" |
|
ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE_COLOR=%{$fg[red]%} |
|
|
|
|