mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Merge cc319691e9 into 5667161d49
This commit is contained in:
commit
e43289b06a
2 changed files with 12 additions and 1 deletions
10
themes/bitboxer.zsh-theme
Normal file
10
themes/bitboxer.zsh-theme
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
export PS1="%{$fg[green]%}%n@%m:%{$reset_color%}% %3~$(git_info_for_prompt)% # "
|
||||
else
|
||||
export PS1='%F{green}%3~%f$(git_prompt_info)%# '
|
||||
fi
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="[%F{yellow}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%f]"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%F{red}*%f"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||
Loading…
Add table
Add a link
Reference in a new issue