diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Functions/Prompts/prompt_clint_setup | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 3022b6a19..f63fbf2a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-11-20 Clint Adams <clint@zsh.org> + + * unposted: Functions/Prompts/prompt_clint_setup: change bracket + colors default to yellow when in an ssh session. + 2009-11-19 Peter Stephenson <pws@csr.com> * Greg: 27416: Completion/Unix/Command/_subversion: repository @@ -12359,5 +12364,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4816 $ +* $Revision: 1.4817 $ ***************************************************** diff --git a/Functions/Prompts/prompt_clint_setup b/Functions/Prompts/prompt_clint_setup index ba55ca5fc..822d3908f 100644 --- a/Functions/Prompts/prompt_clint_setup +++ b/Functions/Prompts/prompt_clint_setup @@ -17,7 +17,7 @@ prompt_clint_setup () { autoload -Uz vcs_info - pcc[1]=${1:-'red'} + pcc[1]=${1:-${${SSH_CLIENT+'yellow'}:-'red'}} pcc[2]=${2:-'cyan'} pcc[3]=${3:-'green'} pcc[4]=${4:-'yellow'} |