about summary refs log tree commit diff
path: root/Functions/Prompts
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2009-11-20 03:05:54 +0000
committerClint Adams <clint@users.sourceforge.net>2009-11-20 03:05:54 +0000
commit2746eec722920c9af31e9a5962887ac31d7a4b33 (patch)
tree6f89e0b605cc6def3287c0cc51d5ab8201403de2 /Functions/Prompts
parentbe1e9c189d3791ab740bfd6901a904528c9362a7 (diff)
downloadzsh-2746eec722920c9af31e9a5962887ac31d7a4b33.tar.gz
zsh-2746eec722920c9af31e9a5962887ac31d7a4b33.tar.xz
zsh-2746eec722920c9af31e9a5962887ac31d7a4b33.zip
unposted: change bracket colors default to yellow when in an ssh session.
Diffstat (limited to 'Functions/Prompts')
-rw-r--r--Functions/Prompts/prompt_clint_setup2
1 files changed, 1 insertions, 1 deletions
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'}