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

Re: option to show file:line everytime echo is called?



On 10/01/17 04:30 AM, Anthony Heading wrote:

Maybe use an alias?

#!/bin/env zsh
alias echo='echo ${0:A}:$LINENO'
Where can I read up on " ${0:A} ", I haven't seen that construction before.
And probably there's a host of siblings equally useful.



Messages sorted by: Reverse Date, Date, Thread, Author