Skip to content

Commit

Permalink
fix(isql): work around nounset
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Oct 3, 2023
1 parent 11dfd38 commit cb7007a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/isql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _comp_cmd_isql()
local cur prev words cword comp_args
_comp_initialize -- "$@" || return

[[ -f $ODBCINI ]] &&
[[ -f ${ODBCINI-} ]] &&
COMPREPLY=($(command grep "\[$cur" "$ODBCINI" | tr -d \[\]))
} &&
complete -F _comp_cmd_isql isql
Expand Down

0 comments on commit cb7007a

Please sign in to comment.