Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: menuselection with manpages
- X-seq: zsh-users 10280
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh users <zsh-users@xxxxxxxxxx>
- Subject: Re: menuselection with manpages
- Date: Thu, 18 May 2006 20:28:31 -0700
- In-reply-to: <20060518220907.GX7968@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20060517151015.GK7968@xxxxxxxxxxxxxxx> <20060518220907.GX7968@xxxxxxxxxxxxxxx>
On May 19, 12:09am, Frank Terbeck wrote:
} Subject: Re: menuselection with manpages
}
} - compadd "$@" - ${pages%.(?|<->*(|.gz|.bz2|.Z))}
} + compadd "$@" -P "$sect " - ${pages%.(?|<->*(|.gz|.bz2|.Z))}
}
} % man 5 5 crontab
}
} which is not what I would want. How could I get this to work sanely?
Try:
if ((CURRENT > 2))
then compadd "$@" - ${pages%.(?|<->*(|.gz|.bz2|.Z))}
else compadd "$@" -P "$sect " - ${pages%.(?|<->*(|.gz|.bz2|.Z))}
fi
Messages sorted by:
Reverse Date,
Date,
Thread,
Author