Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Global Alias to "read" previous parameter?
- X-seq: zsh-users 12364
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Global Alias to "read" previous parameter?
- Date: Sun, 23 Dec 2007 15:45:31 -0800
- In-reply-to: <Xns9A0CB9D49CBEFzzappergmailcom@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <Xns9A0CB9D49CBEFzzappergmailcom@xxxxxxxxxxxx>
On Dec 20, 6:18pm, zzapper wrote:
}
} cp ../aaa/file.txt newname.txt VL
} where VL would cause
} vi newname.txt
I think this is what you mean:
alias -g VL='&& vi $_'
Replace "&&" with ";" depending on your desired semantics.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author