Skip to content
Snippets Groups Projects
Unverified Commit 3d74d277 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Use cut instead of sed in the default command

parent fc274c2b
No related branches found
No related tags found
No related merge requests found
......@@ -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-`
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment