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

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



Bart Schaefer wrote on Thu, Jan 12, 2017 at 23:57:49 -0800:
>   alias() {
>     if [[ -z $opts[-m] && $1 = *=* ]] && whence_my_alias[${1%=*}]=$functrace

[${1%%=*}]

> Some edge cases possibly not caught.

'alias' can take more than one positional argument.



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