1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-02 01:39:25 +00:00

general: Apply quote styling consistency

Remove redundant quotes from comparisons and
variable expansions where they are not needed.

Also add style nits to comments and code.
This commit is contained in:
Indrajit Raychaudhuri
2023-04-26 18:58:33 -05:00
parent 427268c64f
commit 6e564503f1
6 changed files with 24 additions and 23 deletions

View File

@ -14,6 +14,6 @@ SAYINGS=(
)
# Print a randomly-chosen message:
echo $SAYINGS[$(($RANDOM % ${#SAYINGS} + 1))]
echo $SAYINGS[$(($RANDOM % $#SAYINGS + 1))]
} >&2