summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-11-03 22:25:50 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-11-03 22:25:50 +0900
commit672b59363481337eaa8bce9b104d9a2d723a170f (patch)
tree0ea0ce344e92b9cffd1dd16834fdc6fbdafcab7d
parent5769d3867dcb6a7b79549da7d3269140c1fc3332 (diff)
Update FZF_DEFAULT_COMMAND example (#310)
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index e4521c62..ff779ab1 100644
--- a/README.md
+++ b/README.md
@@ -355,7 +355,8 @@ speed of the traversal.
```sh
export FZF_DEFAULT_COMMAND='
(git ls-tree -r --name-only HEAD ||
- find * -name ".*" -prune -o -type f -print -o -type l -print) 2> /dev/null'
+ find . -path "*/\.*" -prune -o -type f -print -o -type l -print |
+ sed s/^..//) 2> /dev/null'
```
#### Fish shell