mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
fix username/hostname/ip printing (was invisible)
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
50a28abde9
commit
42d9a96db9
2 changed files with 2 additions and 2 deletions
|
@ -27,4 +27,4 @@ fi
|
||||||
at=
|
at=
|
||||||
grep -qs "^whoami=1$" "$HOME/.$PKG/status" && 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)
|
||||||
|
|
|
@ -22,4 +22,4 @@ if [ "$1" = "--detail" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\005{+b W}%s\005{-}" $(whoami)
|
printf "\005{+b }%s\005{-}" $(whoami)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue