I have folders ~/opt/linux and ~/opt/linux-stable. Currently, ~/opt/linux-stable is ranked higher, so when I type z linux I go to ~/opt/linux-stable. I believe that if the query is an exact match of the name of the folder, it should go to that folder.