mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Small changes to Illenseer oh-my-zsh theme.
This commit is contained in:
parent
6f25e832ca
commit
953e9b3d12
1 changed files with 5 additions and 5 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
# Stephen Tudor, Dejan Ranisavljevic, jnrowe
|
# Stephen Tudor, Dejan Ranisavljevic, jnrowe
|
||||||
# AUTHOR: Nils Pascal Illenseer <ni@np.cx>
|
# AUTHOR: Nils Pascal Illenseer <ni@np.cx>
|
||||||
# VERSION: 1
|
# VERSION: 1
|
||||||
# SCREENSHOT: http://www.flickr.com/photos/infion/5895644448
|
# SCREENSHOT: http://www.flickr.com/photos/infion/5902602288/lightbox
|
||||||
# ------------------------------------------------------------------------
|
# ------------------------------------------------------------------------
|
||||||
|
|
||||||
# Format for git_prompt_info()
|
# Format for git_prompt_info()
|
||||||
|
|
@ -40,14 +40,14 @@ else
|
||||||
user="%{$fg_bold[green]%}%n"
|
user="%{$fg_bold[green]%}%n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# local (green) vs. remote (yellow)
|
# local (white) vs. remote (yellow)
|
||||||
if [[ -n $SSH_CONNECTION ]]; then
|
if [[ -n $SSH_CONNECTION ]]; then
|
||||||
loc="%{$fg_bold[yellow]%}%m"
|
loc="%{$fg_bold[yellow]%}%m"
|
||||||
else
|
else
|
||||||
loc="%{$fg_bold[green]%}%m"
|
loc="%m"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Prompt format
|
# Prompt format
|
||||||
PROMPT='${ret_status} ${user}%{$fg_bold[white]%}@${loc} %{$fg_bold[white]%}%~%u
|
PROMPT='${ret_status} ${user}%{$fg_bold[white]%}@${loc} %{$fg_bold[blue]%}%~%u
|
||||||
➜%{$reset_color%} '
|
%{$fg_bold[white]%}❱%{$reset_color%} '
|
||||||
RPROMPT='$(git_prompt_ahead)%{$fg_bold[white]%}$(git_prompt_info)$(git_prompt_short_sha)$(git_prompt_status)%{$reset_color%}'
|
RPROMPT='$(git_prompt_ahead)%{$fg_bold[white]%}$(git_prompt_info)$(git_prompt_short_sha)$(git_prompt_status)%{$reset_color%}'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue