diff options
-rwxr-xr-x | pb_colour | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -18,7 +18,7 @@ pb_ctest() { local x x=$(tput colors) - if [ -z "$1" ] || (("$1" > "$x")) ; then + if [ -z "$1" ] || (("$1" >= "$x")) ; then return 1 fi @@ -34,7 +34,8 @@ pb_terminfo() { pb_nc() { printf '\033[0;0m' - + return 0 + } pb_fg() { |