Skip to content
Myr

Fix default command so that it doesn't fail on dash-prefixed files

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Close #310

authored by Junegunn Choi · committed by Junegunn Choi · parent 0b4542f · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/constants.go+1 added-1 removed
13 unmodified lines
14 coordinatorDelayMax time.Duration = 100 * time.Millisecond15 coordinatorDelayStep time.Duration = 10 * time.Millisecond1617 // Reader18 defaultCommand = `find * -path '*/\.*' -prune -o -type f -print -o -type l -print 2> /dev/null`18 defaultCommand = `find . -path '*/\.*' -prune -o -type f -print -o -type l -print 2> /dev/null | sed s/^..//`1920 // Terminal21 initialDelay = 100 * time.Millisecond22 spinnerDuration = 200 * time.Millisecond
27 unmodified lines