mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* byobu-status: fix --detail, detect script dir
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
42ef481674
commit
d50cd8c2f9
1 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,11 @@ if [ "$P" = "--detail" ]; then
|
||||||
VER=`dpkg-query --show $PKG | awk '{print "-" $2 }'`
|
VER=`dpkg-query --show $PKG | awk '{print "-" $2 }'`
|
||||||
fi
|
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"
|
printf "$PKG$VER Detailed Status Navigation\n Expand all - zr\t\tCollapse all - zm\n Expand one - zo\t\tCollapse one - zc\n\n"
|
||||||
|
if [ -d "$HOME/.$PKG/bin" ]; then
|
||||||
|
DIR="$HOME/.$PKG/bin"
|
||||||
|
else
|
||||||
|
DIR="/usr/lib/$PKG"
|
||||||
|
fi
|
||||||
for i in `ls "$DIR"`; do
|
for i in `ls "$DIR"`; do
|
||||||
[ "$i" = "menu" ] && continue
|
[ "$i" = "menu" ] && continue
|
||||||
script=`find_script $i`
|
script=`find_script $i`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue