Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Using functions for FNG
- X-seq: zsh-users 18958
- From: zzapper <david@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Using functions for FNG
- Date: Fri, 18 Jul 2014 18:45:04 +0000 (UTC)
- 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
- Organization: Your Company
Hi
# cyg converts linux path to DOS Path
function cyg() { reply=("$(cygpath -m $REPLY)") }
gvim.exe /c/aax/*(.om[1]+cyg)
I know reply is a magic variable and can guess how the above works but
anyone care to explain it?. Obviously a useful techique to be able to apply
functions to your FNG.
--
zzapper
https://twitter.com/dailyzshtip
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author