rupa / z

z - jump around
Do What The F*ck You Want To Public License
16.39k stars 1.17k forks source link

order #258

Open jerabaul29 opened 5 years ago

jerabaul29 commented 5 years ago

z only search in order, as indicated in the Readme:

After  a  short  learning  phase, z will take you to the most 'frecent'
       directory that matches ALL of the regexes given on the command line, in
       order.

       For example, z foo bar would match /foo/bar but not /bar/foo.

Any way to add an option for allowing to find also ignoring the ordering? (i.e. something like:

$> z foo bar
$ 
$> z -a foo bar
$ /bar/foo