diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2017-02-17 13:07:45 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-02-17 13:07:45 +0900 |
commit | 3d74d277aa0446264240308e52df6f223cc2a8ed (patch) | |
tree | 7f630c05ac3ae6a0f24a3b760add76c8c5c1b52a /src | |
parent | fc274c2ba4682198aca68d0334a5445f269aba92 (diff) |
Use cut instead of sed in the default command
Diffstat (limited to 'src')
-rw-r--r-- | src/constants_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constants_unix.go b/src/constants_unix.go index 05f66d0a..2dad4d41 100644 --- a/src/constants_unix.go +++ b/src/constants_unix.go @@ -4,5 +4,5 @@ package fzf const ( // Reader - defaultCommand = `find -L . -path '*/\.*' -prune -o -type f -print -o -type l -print 2> /dev/null | sed s/^..//` + defaultCommand = `find -L . -path '*/\.*' -prune -o -type f -print -o -type l -print 2> /dev/null | cut -b3-` ) |