mirror of
https://github.com/skywind3000/z.lua
synced 2026-03-24 08:39:49 +00:00
Updated FAQ (markdown)
8
FAQ.md
8
FAQ.md
@@ -2,7 +2,13 @@
|
||||
|
||||
Q: There is a `~/Documents/github/vue-my-ui` directory, but when I use `z vue-my-ui` the directory cannot be matched.
|
||||
|
||||
A: `-` is a reserved character in lua regexp. you can use either `z vue%-my%-ui` or `z vue my ui`.
|
||||
A: `-` is a reserved character in lua regexp. you can use either `z vue%-my%-ui` or `z vue my ui`.
|
||||
|
||||
If you don't like this behavior, you can set:
|
||||
|
||||
export $_ZL_HYPHEN=1
|
||||
|
||||
to escape `-` into `%-` automatically and `z vue-my-ui` will jump to `~/Documents/github/vue-my-ui` but you cannot use `-` as a regexp keywords any more.
|
||||
|
||||
## How to integrate z.lua to ranger ?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user