Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Can $_ substitute $0 when nofunctionargzero
On Jun 15, 6:58pm, Sebastian Gniazdowski wrote:
}
} Just noted that when recording asciinema video, $0 nor %N do work.
} Both contain only file name, without path. Seems pretty weird?
$0 and %N only contain the path given to "source" or passed in as argv[0].
That will be "test_program" here unless a $path search changes it.
Perhaps asciinema inserts "." or an empty element into $PATH where
you don't normally have one, so `pwd` isn't used for the path search?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author