From 3d74d277aa0446264240308e52df6f223cc2a8ed Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 17 Feb 2017 13:07:45 +0900 Subject: [PATCH] Use cut instead of sed in the default command --- src/constants_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants_unix.go b/src/constants_unix.go index 05f66d0..2dad4d4 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-` )