You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-6Lines changed: 19 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,13 +69,19 @@ z -b foo # cd to the parent directory starting with foo
69
69
70
70
and perhaps this:
71
71
72
-
export _ZL_ECHO=1
72
+
eval "$(lua /path/to/z.lua --init bash enhanced once echo)"
73
73
74
74
if you want `z.lua` print the new directory after cd.
75
75
76
-
If you want`fzf` tab completion use:
76
+
For`fzf` tab completion use:
77
77
78
78
eval "$(lua /path/to/z.lua --init bash enhanced once fzf)"
79
+
80
+
**NOTE**: For wsl-1 users, `lua-filesystem` must be installed:
81
+
82
+
sudo apt-get install lua-filesystem
83
+
84
+
To avoid a wsl-1 [defect](https://github.com/microsoft/WSL/issues/5505).
79
85
80
86
- Zsh:
81
87
@@ -85,6 +91,8 @@ z -b foo # cd to the parent directory starting with foo
85
91
86
92
Options like "enhanced" and "once" can be used after `--init` too. It can also be initialized from "skywind3000/z.lua" with your zsh plugin managers (antigen / oh-my-zsh).
87
93
94
+
**NOTE**: for wsl-1 users, `lua-filesystem` must be installed.
95
+
88
96
- Posix Shells:
89
97
90
98
put something like this in your `.profile`:
@@ -113,21 +121,26 @@ z -b foo # cd to the parent directory starting with foo
0 commit comments