Skip to content

Commit a01b28a

Browse files
authored
Fixup #2
1 parent 695533c commit a01b28a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ To enable this, you can set `$_ZL_ADD_ONCE` to `1` before init z.lua. Or you can
268268
````bash
269269
eval "$(lua /path/to/z.lua --init bash once)"
270270
eval "$(lua /path/to/z.lua --init zsh once)"
271-
source (lua /path/to/z.lua --init fish once | psub)
271+
lua /path/to/z.lua --init fish once | source
272272
````
273273

274274
With `add once` mode off (default), z.lua will consider the time you spent in the directory (like z.sh). When this mode is on, consider the times you accessed the directory (like autojump), and that could be much faster on slow hardware.

0 commit comments

Comments
 (0)