mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-23 05:12:08 +00:00
Use cut instead of sed in the default command
This commit is contained in:
parent
fc274c2ba4
commit
3d74d277aa
@ -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-`
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user