=== modified file 'bin/fsb' --- bin/fsb 2013-05-14 07:26:08 +0000 +++ bin/fsb 2013-05-13 23:10:30 +0000 @@ -43,9 +43,9 @@ fi else if (($+FSB_NO_COLORS)); then - fsb_info() { print -r - "$@" | cowsay -n} - fsb_warn() { print -r - "$@" | cowsay -w -W $COLUMNS } - fsb_error() { print -r - "$@" | cowsay -d -W $COLUMNS } + fsb_info() { print -r - "$@" | cowsay } + fsb_warn() { print -r - "$@" | cowsay -w } + fsb_error() { print -r - "$@" | cowsay -d } else autoload colors colors @@ -54,9 +54,9 @@ shift cowsay "$@" | sed "1{s/^/${fg[${color}]}/};/^ ---* \$/s/\$/${reset_color}/" } - fsb_info() { print -r - "$@" | fsb_say green -n } - fsb_warn() { print -r - "$@" | fsb_say yellow -w -W $COLUMNS } - fsb_error() { print -r - "$@" | fsb_say red -d -W $COLUMNS } + fsb_info() { print -r - "$@" | fsb_say green -n } + fsb_warn() { print -r - "$@" | fsb_say yellow -w } + fsb_error() { print -r - "$@" | fsb_say red -d } fi fi