Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[FAQ] PATH surgery
- X-seq: zsh-users 15936
- From: Helmut Jarausch <jarausch@xxxxxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: [FAQ] PATH surgery
- Date: Tue, 05 Apr 2011 10:34:38 +0200
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi,
what's the simplest way to do some surgery on the PATH environment
variable. While vared is interactive I'll need to
- split / join the PATH into an array of PATH's components
- remove the first or any given component
- search for a component containing a given string
Many thanks for a hint,
Helmut.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author