[fzf-mux] Remove unnecessary env var from command
This commit is contained in:
parent
5eef0acea1
commit
4977174def
@ -107,7 +107,9 @@ fail() {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
fzf=$(which fzf 2> /dev/null) || fail "fzf executable not found"
|
fzf=$(which fzf 2> /dev/null) || fail "fzf executable not found"
|
||||||
envs="FZF_DEFAULT_OPTS=$(printf %q "$FZF_DEFAULT_OPTS") FZF_DEFAULT_COMMAND=$(printf %q "$FZF_DEFAULT_COMMAND")"
|
envs=""
|
||||||
|
[ -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")"
|
||||||
|
|
||||||
mkfifo $fifo2
|
mkfifo $fifo2
|
||||||
mkfifo $fifo3
|
mkfifo $fifo3
|
||||||
|
Loading…
Reference in New Issue
Block a user