Skip to content

Commit b3fa682

Browse files
committed
Fix colourize=0
1 parent 3986d2f commit b3fa682

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bashmount

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ fi
112112
# }}}
113113

114114
# {{{ ··· PRINTING FUNCTIONS
115-
unset ALL_OFF BOLD BLUE GREEN RED
116115
if (( colourize )); then
117116
if tput setaf 0 >/dev/null 2>&1; then
118117
declare -r ALL_OFF="$(tput sgr0)"
@@ -127,6 +126,8 @@ if (( colourize )); then
127126
declare -r GREEN="${BOLD}\e[1;32m"
128127
declare -r RED="${BOLD}\e[1;31m"
129128
fi
129+
else
130+
declare -r ALL_OFF="" BOLD="" BLUE="" GREEN="" RED=""
130131
fi
131132
declare -r ARROW="==>"
132133

0 commit comments

Comments
 (0)