Revert "defaults: Revert to old comparison"

pull/1922/head
John D Pell 2021-08-22 13:07:08 -07:00 committed by John D Pell
parent 226454b069
commit ad634e7fac
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ _defaults()
# Both a domain and command have been specified
if [[ ${COMP_WORDS[1]} == [${cmds// /|}] ]]; then
if [[ ${COMP_WORDS[1]} =~ [${cmds// /|}] ]]; then
cmd=${COMP_WORDS[1]}
domain=${COMP_WORDS[2]}
key_index=3