mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
Save some forks:
* usr/bin/byobu-status * usr/lib/byobu/custom * usr/lib/byobu/release * usr/lib/services
This commit is contained in:
parent
7cb0be0b50
commit
82f38ea7d8
2 changed files with 8 additions and 5 deletions
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,7 +1,10 @@
|
|||
byobu (2.81) unreleased; urgency=low
|
||||
|
||||
Save a fork:
|
||||
* usr/lib/byobu/custom, usr/lib/byobu/release, usr/lib/services
|
||||
Save some forks:
|
||||
* usr/bin/byobu-status
|
||||
* usr/lib/byobu/custom
|
||||
* usr/lib/byobu/release
|
||||
* usr/lib/services
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 16 Jun 2010 12:46:29 -0500
|
||||
|
||||
|
|
|
@ -68,11 +68,11 @@ case "$P" in
|
|||
fi
|
||||
printf "$PKG$VER Detailed Status Navigation\n Expand all - zr\t\tCollapse all - zm\n Expand one - zo\t\tCollapse one - zc\n\n"
|
||||
for i in "/usr/lib/$PKG"/* "$HOME/.$PKG/bin"/*; do
|
||||
i=$(echo "$i" | sed "s:^.*/::")
|
||||
i=${i##*/}
|
||||
[ "$i" = "menu" ] && continue
|
||||
script=`find_script $i`
|
||||
short=`$script --short | sed 's/^\s*//' | sed 's/\s*$//' | sed 's/.{[^}]*}//g'` || true
|
||||
detail=`$script --detail | sed '/^$/d' | sed 's/^/\t/g'` || true
|
||||
short=`$script --short | sed -e 's/^\s*//' -e 's/\s*$//' -e 's/.{[^}]*}//g'` || true
|
||||
detail=`$script --detail | sed -e '/^$/d' -e 's/^/\t/g'` || true
|
||||
printf "%s\n\t(%s)\n" "$short" "$i"
|
||||
[ -n "$detail" ] && printf "%s\n" "$detail"
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue