mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
My theme :)
This commit is contained in:
parent
51644aaecb
commit
cc319691e9
1 changed files with 10 additions and 0 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