diff --git a/bin/hledger-bar b/bin/hledger-bar index 699aaaedb..8a7e0d421 100755 --- a/bin/hledger-bar +++ b/bin/hledger-bar @@ -78,7 +78,7 @@ poschar="+" # https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit and 24-bit colors. # Disable if stdout is not a terminal or NO_COLOR is defined. -if [[ ! -t 1 || -v $NO_COLOR ]]; then +if [[ ! -t 1 || -v ]]; then red='' green='' nocol=''