summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core.go2
-rw-r--r--src/reader.go1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/core.go b/src/core.go
index 6442481c..e0e02714 100644
--- a/src/core.go
+++ b/src/core.go
@@ -148,8 +148,8 @@ func Run(opts *Options) (int, error) {
// Terminal I/O
var terminal *Terminal
- var initialEnv []string
var err error
+ var initialEnv []string
initialReload := opts.extractReloadOnStart()
if opts.Filter == nil {
terminal, err = NewTerminal(opts, eventBox, executor)
diff --git a/src/reader.go b/src/reader.go
index ccaf8c62..ecdf509c 100644
--- a/src/reader.go
+++ b/src/reader.go
@@ -123,7 +123,6 @@ func (r *Reader) ReadSource(inputChan chan string, root string, opts walkerOpts,
if len(cmd) == 0 {
success = r.readFiles(root, opts, ignores)
} else {
- // We can't export FZF_* environment variables to the default command
success = r.readFromCommand(cmd, initEnv)
}
} else {