From 9c6e46ab154353f31a1f881a70ac78695b3509bb Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 24 Apr 2015 12:54:57 +0900 Subject: [PATCH] [fzf-tmux] Fix #215 - Prepend env to avoid error on fish --- bin/fzf-tmux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/fzf-tmux b/bin/fzf-tmux index fe9f8ad..c723288 100755 --- a/bin/fzf-tmux +++ b/bin/fzf-tmux @@ -107,7 +107,7 @@ fail() { fzf="$(which fzf 2> /dev/null)" || fzf="$(dirname "$0")/fzf" [ -x "$fzf" ] || fail "fzf executable not found" -envs="" +envs="env " [ -n "$FZF_DEFAULT_OPTS" ] && envs="$envs FZF_DEFAULT_OPTS=$(printf %q "$FZF_DEFAULT_OPTS")" [ -n "$FZF_DEFAULT_COMMAND" ] && envs="$envs FZF_DEFAULT_COMMAND=$(printf %q "$FZF_DEFAULT_COMMAND")"