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

Re: Global Alias to "read" previous parameter?



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