From 2746eec722920c9af31e9a5962887ac31d7a4b33 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Fri, 20 Nov 2009 03:05:54 +0000 Subject: unposted: change bracket colors default to yellow when in an ssh session. --- Functions/Prompts/prompt_clint_setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions') 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'} -- cgit v1.2.3