From bf1f111ad7efb83c39fa381027612d6d851e3fc9 Mon Sep 17 00:00:00 2001 From: Shuangjiang Li Date: Wed, 31 Dec 2014 01:50:48 -0500 Subject: [PATCH] my updates --- oh-my-zsh.sh | 3 +++ themes/robbyrussell.zsh-theme | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index d0e89f31b..21e5509ad 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -88,3 +88,6 @@ else fi fi fi + +source ~/.bash_profile +source ~/.bash_rc diff --git a/themes/robbyrussell.zsh-theme b/themes/robbyrussell.zsh-theme index 24e1e8c52..ad9a0f085 100644 --- a/themes/robbyrussell.zsh-theme +++ b/themes/robbyrussell.zsh-theme @@ -1,5 +1,5 @@ local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)" -PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' +PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%2d %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}> ' ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"