Skip to content

Commit

Permalink
shellcheck.sh: Unify variable style
Browse files Browse the repository at this point in the history
Signed-off-by: Fini Jastrow <[email protected]>
  • Loading branch information
Finii committed Aug 28, 2024
1 parent d294607 commit 66ae03d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/scripts/cheatsheet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ source "${sd}/lib/i_all.sh"

# Search the key on the declared variables
for glyph in ${!i_*}; do
if [[ "$glyph" == *"$1"* ]]; then
printf "%s\t%x\t%s\n" "${!glyph}" "'${!glyph}'" "$glyph"
if [[ "${glyph}" == *"${1}"* ]]; then
printf "%s\t%x\t%s\n" "${!glyph}" "'${!glyph}'" "${glyph}"
fi
done

0 comments on commit 66ae03d

Please sign in to comment.