mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
new custom theme
This commit is contained in:
parent
1120f97305
commit
f9a237f231
1 changed files with 14 additions and 0 deletions
14
themes/jico.zsh-theme
Normal file
14
themes/jico.zsh-theme
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
function ssh_connection() {
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
echo "%{$fg_bold[cyan]%}☁ "
|
||||
fi
|
||||
}
|
||||
|
||||
PROMPT='%{$fg_bold[green]%}%p%{$fg[magenta]%}%c %{$fg_bold[blue]%}$(ssh_connection)%{$fg_bold[yellow]%}⚡ % %{$reset_color%}'
|
||||
|
||||
RPROMPT='%{$fg[yellow]%}$(rvm_prompt_info) %{$fg_bold[blue]%}$(git_prompt_info) %{$reset_color%}'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="git:[%{$fg[red]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}] %{$fg[yellow]%}✗%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}]"
|
||||
Loading…
Add table
Add a link
Reference in a new issue