diff --git a/shell-completion/hledger-completion.bash b/shell-completion/hledger-completion.bash index 2a4e1731e..1de73b131 100644 --- a/shell-completion/hledger-completion.bash +++ b/shell-completion/hledger-completion.bash @@ -15,7 +15,7 @@ _hledger_completion_function() { # Current treatment for special characters: # - exclude colon (:) from COMP_WORDBREAKS # - option processing assumes that `=` is in COMP_WORDBREAKS - # - use comptop -o filenames to escape the rest + # - use compopt -o filenames to escape the rest COMP_WORDBREAKS=${COMP_WORDBREAKS//:} case "$COMP_WORDBREAKS" in *=*) : ;; diff --git a/shell-completion/hledger-completion.bash.m4 b/shell-completion/hledger-completion.bash.m4 index 7a61a2a0c..296038cc5 100644 --- a/shell-completion/hledger-completion.bash.m4 +++ b/shell-completion/hledger-completion.bash.m4 @@ -15,7 +15,7 @@ _hledger_completion_function() { # Current treatment for special characters: # - exclude colon (:) from COMP_WORDBREAKS # - option processing assumes that `=` is in COMP_WORDBREAKS - # - use comptop -o filenames to escape the rest + # - use compopt -o filenames to escape the rest COMP_WORDBREAKS=${COMP_WORDBREAKS//:} case "$COMP_WORDBREAKS" in *=*) : ;;