1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-25 09:09:48 +00:00

Updated FAQ (markdown)

Linwei
2019-03-08 12:36:55 +08:00
parent 0ba99efcd5
commit 23d52c3c42

5
FAQ.md

@@ -64,3 +64,8 @@ function zii() {
[ -n "$dir" ] && cd "$dir"
}
```
## How to input a hyphen `-` in the keyword.
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`.