fix username/hostname/ip printing (was invisible)

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-05-13 23:43:37 -05:00
commit 42d9a96db9
2 changed files with 2 additions and 2 deletions

View file

@ -27,4 +27,4 @@ fi
at=
grep -qs "^whoami=1$" "$HOME/.$PKG/status" && at="@"
printf "\005{+b W}%s%s\005{-}" "$at" $(hostname -s 2>/dev/null || hostname)
printf "\005{+b }%s%s\005{-}" "$at" $(hostname -s 2>/dev/null || hostname)

View file

@ -22,4 +22,4 @@ if [ "$1" = "--detail" ]; then
exit 0
fi
printf "\005{+b W}%s\005{-}" $(whoami)
printf "\005{+b }%s\005{-}" $(whoami)