1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 04:30:27 +01:00

unposted: change bracket colors default to yellow when in an ssh session.

This commit is contained in:
Clint Adams 2009-11-20 03:05:54 +00:00
parent be1e9c189d
commit 2746eec722
2 changed files with 7 additions and 2 deletions

View file

@ -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 $
*****************************************************

View file

@ -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'}