diff --git a/bash_completionsV2.go b/bash_completionsV2.go index 70c0da51..87a90667 100644 --- a/bash_completionsV2.go +++ b/bash_completionsV2.go @@ -24,7 +24,7 @@ func genBashComp(buf io.StringWriter, name string, includeDesc bool) { __%[1]s_debug() { - if [[ -n ${BASH_COMP_DEBUG_FILE:-} ]]; then + if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then echo "$*" >> "${BASH_COMP_DEBUG_FILE}" fi }