mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-24 15:16:20 -07:00
* byobu-status: print the short description (matching the status
in the lower bar) first, then the description in parens in the first line of the indented/folded text Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
d025dfcea4
commit
8ca3027b5d
2 changed files with 4 additions and 3 deletions
|
@ -77,7 +77,7 @@ case "$P" in
|
||||||
[ "$i" = "menu" ] && continue
|
[ "$i" = "menu" ] && continue
|
||||||
short=`"$DIR"/$i --short | sed 's/^\s*//' | sed 's/\s*$//' | sed 's/.{[^}]*}//g'` || true
|
short=`"$DIR"/$i --short | sed 's/^\s*//' | sed 's/\s*$//' | sed 's/.{[^}]*}//g'` || true
|
||||||
detail=`"$DIR"/$i --detail | sed '/^$/d' | sed 's/^/\t/g'` || true
|
detail=`"$DIR"/$i --detail | sed '/^$/d' | sed 's/^/\t/g'` || true
|
||||||
printf "%-15s (%s)\n" "$short" "$i"
|
printf "%s\n\t(%s)\n" "$short" "$i"
|
||||||
[ -n "$detail" ] && printf "%s\n" "$detail"
|
[ -n "$detail" ] && printf "%s\n" "$detail"
|
||||||
done
|
done
|
||||||
exit 0
|
exit 0
|
||||||
|
|
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -2,9 +2,10 @@ byobu (2.2) jaunty; urgency=low
|
||||||
|
|
||||||
* bin/cpu-count: print cpu model names for --detail
|
* bin/cpu-count: print cpu model names for --detail
|
||||||
* byobu-status: print the short description (matching the status
|
* byobu-status: print the short description (matching the status
|
||||||
in the lower bar) first, then the description in parens
|
in the lower bar) first, then the description in parens in the
|
||||||
|
first line of the indented/folded text
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 07 May 2009 13:27:41 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 07 May 2009 15:56:34 -0500
|
||||||
|
|
||||||
byobu (2.1-0ubuntu1) karmic; urgency=low
|
byobu (2.1-0ubuntu1) karmic; urgency=low
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue