fix bug about variable suggestion

This commit is contained in:
lpy-neo 2019-10-15 20:50:21 +08:00 committed by GitHub
parent 9de870ab02
commit 9c61f287c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ ui::fzf() {
fi
local -r fzf_cmd="$([ $NAVI_ENV == "test" ] && echo "fzf_mock" || echo "fzf")"
"$fzf_cmd" "${args[@]:-}" --inline-info "$@"
"$fzf_cmd" ${args[@]:-} --inline-info "$@"
}
ui::select() {