Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: My zshrc; any sugestions welcome
- X-seq: zsh-users 4781
- From: Marijan Peh <marijan.peh@xxxxxxxxxxx>
- To: zsh-users <zsh-users@xxxxxxxxxx>
- Subject: Re: My zshrc; any sugestions welcome
- Date: Tue, 26 Mar 2002 10:38:35 +0100
- In-reply-to: <Pine.LNX.4.44.0203251101280.5070-100000@xxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxx on Mon, Mar 25, 2002 at 11:03:11AM -0800
- Mail-followup-to: Marijan Peh <marijan.peh@xxxxxxxxxxx>, zsh-users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020325175935.A1729@xxxxxxxxxxxxx> <Pine.LNX.4.44.0203251101280.5070-100000@xxxxxxxxxxxxxxxx>
On Mon, Mar 25, 2002 at 11:03:11AM -0800, Bart Schaefer wrote:
> On Mon, 25 Mar 2002, Marijan Peh wrote:
>
> > > It'd probably be better to use ${${(z)1}[1]} there, rather than $1, if
> > > you want just the command name. Or even ${${${(z)1}:#*[[:punct:]]*}[1]}
> > > in case the first "word" is an open-paren or something.
> >
> > This display just first letter of current running job. ex:
> > I run 'top' but is shows only 't' in titlebar.
>
> Oh, sorry, in double quotes you need ${${(@)${(z)1}:#*[[:punct:]]*}[1]}
> ^^^
Nope, still the same.
--
.~. marijan.peh@xxxxxxxxxxx
/V\ /bin/zsh 4.1.0-dev-4 (i686-pc-linux-gnu)
/( )\ Linux nymos.home.hr 2.4.18-rmap-rml #3
^^ ^^
Messages sorted by:
Reverse Date,
Date,
Thread,
Author