Remove unnecessary quoting, a matter of consistency...

This commit is contained in:
Vladimir Zhelezov 2020-12-13 08:39:56 +01:00
parent eea7f0d506
commit 3cabee2470
2 changed files with 4 additions and 4 deletions

View File

@ -17,9 +17,9 @@ _hledger_completion_function() {
# - option processing assumes that `=` is in COMP_WORDBREAKS # - option processing assumes that `=` is in COMP_WORDBREAKS
# - use compopt -o filenames to escape the rest # - use compopt -o filenames to escape the rest
COMP_WORDBREAKS=${COMP_WORDBREAKS//:} COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
case "$COMP_WORDBREAKS" in case $COMP_WORDBREAKS in
*=*) : ;; *=*) : ;;
*) COMP_WORDBREAKS="$COMP_WORDBREAKS=" ;; *) COMP_WORDBREAKS=$COMP_WORDBREAKS= ;;
esac esac
compopt -o filenames compopt -o filenames

View File

@ -17,9 +17,9 @@ _hledger_completion_function() {
# - option processing assumes that `=` is in COMP_WORDBREAKS # - option processing assumes that `=` is in COMP_WORDBREAKS
# - use compopt -o filenames to escape the rest # - use compopt -o filenames to escape the rest
COMP_WORDBREAKS=${COMP_WORDBREAKS//:} COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
case "$COMP_WORDBREAKS" in case $COMP_WORDBREAKS in
*=*) : ;; *=*) : ;;
*) COMP_WORDBREAKS="$COMP_WORDBREAKS=" ;; *) COMP_WORDBREAKS=$COMP_WORDBREAKS= ;;
esac esac
compopt -o filenames compopt -o filenames