Skip to content

Commit f068e85

Browse files
author
skywind3000
committed
update doc
1 parent 92fc98d commit f068e85

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,10 @@ eval "$(lua /path/to/z.lua --init zsh once)"
243243
source (lua /path/to/z.lua --init fish once | psub)
244244
````
245245

246-
It could be much faster on slow hardware or Cygwin/MSYS.
246+
When `add once` mode is off (default), z.lua will consider the time you spent in the directory (like z.sh), and when this mode is on, z.lua will consider the times you accessed the directory (like autojump).
247+
248+
It could be much faster on slow hardware or Cygwin/MSYS.
249+
247250

248251
## Interactive Selection
249252

@@ -282,7 +285,7 @@ NOTE: For fish shell, this feature requires fish 2.7.0 or above. You can specify
282285

283286
New option `"-b"` can quickly go back to a specific parent directory in bash instead of typing "cd ../../.." redundantly.
284287

285-
- **(No argument)**: `cd` into the project root, the project root is one of the parent directory with `.git`/`.hg`/`.svn` in it
288+
- **(No argument)**: `cd` into the project root, the project root the nearest parent directory with `.git`/`.hg`/`.svn` in it
286289
- **(One argument)**: `cd` into the closest parent starting with keyword, if not find, goto the parent containing keyword.
287290
- **(Two arguments)**: replace the first value with the second one (in the current path).
288291

0 commit comments

Comments
 (0)