Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Adding a new-line to the prompt.
- X-seq: zsh-users 10471
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Adding a new-line to the prompt.
- Date: Mon, 03 Jul 2006 14:55:33 -0700
- In-reply-to: <ad9751290607031115m36c059c8o9d189348f58d2bbe@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <ad9751290607031008l38dbe164mf3b8475f3587d5ef@xxxxxxxxxxxxxx> <20060703173129.GV26504@xxxxxxxxxxxxxxx> <ad9751290607031115m36c059c8o9d189348f58d2bbe@xxxxxxxxxxxxxx>
On Jul 3, 11:15am, Alex Polite wrote:
}
} Thanks that hit the spot. Now I have this:
}
} fg_dark_gray=$'%{\e[1;30m%}'
} fg_no_colour=$'%{\e[0m%}'
}
} lb="%{$fg_dark_gray%}[%{$fg_no_colour%}"
It doesn't really hurt anything in this case, but you've got too many
%{ and %} in there. You don't need them both within the definition of
$fg_dark_gray et al. and also around the use of same.
} rb="$fg_dark_gray]$fg_no_colour"
That's better.
In one of your earlier messages you had %{ ... %} aournd some thingd
it should not have been, where it did matter, but you seem to have got
that fixed now.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author