z works a bit like a web browser does when autocompleting URLs from history rather than a file system search tool like find. z “learns” the file system paths as you traverse them in a terminal.
I remember reading about this a few months ago. There was a time in my life when I would have been over the moon about a Dylan treasure trove. But now, there other pressing matters...