Comment Comment by skywind3000 z.lua has multiple matching algorithms, the default one is simiar to z.sh, in your case, you may look into the enhanced matching mode, by: eval "$(lua /path/to/z.lua --init bash enhanced once)" FYI: https://github.com/skywind3000/z.lua#enhanced-matching parent skywind3000 7 years ago