zshrc: Fix status() when $BAUD is unset
authorAlexander Steinböck <z3ttacht@grml.org>
Fri, 30 Jan 2009 20:04:14 +0000 (21:04 +0100)
committerFrank Terbeck <ft@bewatermyfriend.org>
Sun, 8 Feb 2009 12:32:02 +0000 (13:32 +0100)
commit0fabaaf4ee69cfb2e3a310542d0204196cc2b2e3
treee0f6c613cbfdb61a8e0b09d2d34c6052d6fa312c
parent4b7c5051eb6073da5a336b48d33f3f845ce0c01d
zshrc: Fix status() when $BAUD is unset

There are implementations of getty that don't export $BAUD. In these
cases there is an empty value in the output of the status() function.

This fixes it by only printing the baud-information field in case
$BAUD is set to a non-empty value.
etc/zsh/zshrc