Arguments to z must be ordered.

E.g. 'z foo bar' matches /foo/bar but not /bar/foo.
This commit is contained in:
rupa committed 2013-08-18 02:26:08 -04:00
1 parent 8053deda75
commit 4932acafc7
3 files changed
+21 -16

No files matched your search

+5 -2
View File
@@ -15,7 +15,10 @@ DESCRIPTION
Tracks your most used directories, based on 'frecency'.
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.
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.
OPTIONS
-c restrict matches to subdirectories of the current directory
@@ -33,7 +36,7 @@ OPTIONS
EXAMPLES
z foo cd to most frecent dir matching foo
z foo bar cd to most frecent dir matching foo and bar
z foo bar cd to most frecent dir matching foo, then bar
z -r foo cd to highest ranked dir matching foo