File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 8
8
vendor
9
9
gopath
10
10
* .zwc
11
+ fzf
Original file line number Diff line number Diff line change @@ -480,7 +480,8 @@ See *KEY BINDINGS* section of the man page for details.
480
480
### Preview window
481
481
482
482
When ` --preview ` option is set, fzf automatically starts an external process with
483
- the current line as the argument and shows the result in the split window.
483
+ the current line as the argument and shows the result in the split window. Your
484
+ ` $SHELL ` is used to execute the command with ` $SHELL -c COMMAND `
484
485
485
486
``` bash
486
487
# {} is replaced to the single-quoted string of the focused line
Original file line number Diff line number Diff line change @@ -1576,7 +1576,10 @@ func (t *Terminal) Loop() {
1576
1576
var out bytes.Buffer
1577
1577
cmd .Stdout = & out
1578
1578
cmd .Stderr = & out
1579
- cmd .Start ()
1579
+ err := cmd .Start ()
1580
+ if err != nil {
1581
+ out .Write ([]byte (err .Error ()))
1582
+ }
1580
1583
finishChan := make (chan bool , 1 )
1581
1584
updateChan := make (chan bool )
1582
1585
go func () {
You can’t perform that action at this time.
0 commit comments