mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 07:43:39 -05:00
Use cut instead of sed in the default command
This commit is contained in:
@@ -4,5 +4,5 @@ package fzf
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// Reader
|
// 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-`
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user