Skip to content

Commit

Permalink
test(shellcheck): disable SC2154 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Feb 28, 2025
1 parent 6e6dc78 commit 7b81bcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bash/colors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ fi

export CLICOLOR=1

# shellcheck disable=SC2154
alias colortest='( x=`tput op` y=`printf %$((${COLUMNS}-6))s`;for i in {0..256};do o=00$i;echo -e ${o:${#o}-3:3} `tput setaf $i;tput setab $i`${y// /=}$x;done; )'

if tput setaf 1 &> /dev/null && [[ $(tput colors) -ge 256 ]] 2>/dev/null; then
Expand Down

0 comments on commit 7b81bcd

Please sign in to comment.