Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Using functions for FNG



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