Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: More zsh tricks required please
- X-seq: zsh-users 7565
- From: Christian Schneider <strcat@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: More zsh tricks required please
- Date: Sat, 19 Jun 2004 15:06:54 +0200
- In-reply-to: <vlc8d0toqggtc9gvlicp20ugllqlh0f7qa@xxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Born to frag.
- References: <vlc8d0toqggtc9gvlicp20ugllqlh0f7qa@xxxxxxx>
* zzapper <david@xxxxxxxxxx> typed:
> I'm an intermediate zsh user, and can't do the whacko stuff yet.
> But haven't learnt any tricks recently, last one was
>
> > vim =some_script (from anywhere)
>
> where the = means search paths for script location.
>
> So please a link to a handy website, or your tips/tricks.
>
> On the above BTW is it possible to do a
>
> > cd =some_script (doesn't work)
>
> to jump to the directory??
| cd =some_script(:h)
I use a function for this:
| function dcd { cd =$1(:h) }
--
\\___// Mynd you, m00se bites
(o o) Kan be pretti nasti
--ooO-(_)-Ooo--------------------------------------------------
Christian 'strcat' Schneider <strcat@xxxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author