White space

This commit is contained in:
Vladimir Zhelezov 2020-12-13 07:56:56 +01:00
parent 046421e712
commit b6a4a887b9
2 changed files with 4 additions and 4 deletions

View File

@ -190,7 +190,7 @@ _hledger_compgen() {
quoted[i++]=$word
done <<< "$complist"
if (( $# < 3 )); then
if (($# < 3)); then
match=${cur:${#prefix}}
fi
@ -317,7 +317,7 @@ _hledger_optarg() {
# hledger balance --file ~/ledger _
# 0 1 2 3 4
for (( i=1; i < ${#words[@]} - 2; i++ )); do
for ((i=1; i < ${#words[@]} - 2; i++)); do
offset=0
for j in "${!options[@]}"; do
if [[ ${words[i]} == "${options[j]}" ]]; then

View File

@ -190,7 +190,7 @@ _hledger_compgen() {
quoted[i++]=$word
done <<< "$complist"
if (( $# < 3 )); then
if (($# < 3)); then
match=${cur:${#prefix}}
fi
@ -317,7 +317,7 @@ _hledger_optarg() {
# hledger balance --file ~/ledger _
# 0 1 2 3 4
for (( i=1; i < ${#words[@]} - 2; i++ )); do
for ((i=1; i < ${#words[@]} - 2; i++)); do
offset=0
for j in "${!options[@]}"; do
if [[ ${words[i]} == "${options[j]}" ]]; then