usr/bin/byobu-status-detail: make a couple of minor modifications

noticed while investigating the already-fixed LP: #750887
This commit is contained in:
Dustin Kirkland 2011-04-04 20:54:20 -05:00
commit 5a7463f92d
2 changed files with 4 additions and 2 deletions

2
debian/changelog vendored
View file

@ -1,6 +1,8 @@
byobu (3.30) unreleased; urgency=low byobu (3.30) unreleased; urgency=low
* usr/share/applications/byobu.desktop: enhance description * usr/share/applications/byobu.desktop: enhance description
* usr/bin/byobu-status-detail: make a couple of minor modifications
noticed while investigating the already-fixed LP: #750887
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 27 Feb 2011 10:29:53 -0600 -- Dustin Kirkland <kirkland@ubuntu.com> Sun, 27 Feb 2011 10:29:53 -0600

View file

@ -18,8 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
if which vim >/dev/null && `vim --version | grep -q +folding`; then if which vim >/dev/null && `vim --version | grep -q +folding`; then
exec byobu-status --detail | vim -c "set foldmethod=indent" -c "set foldminlines=0" -c "set foldnestmax=1" -c "set foldcolumn=2" -R - byobu-status --detail | vim -c "set foldmethod=indent" -c "set foldminlines=0" -c "set foldnestmax=1" -c "set foldcolumn=2" -R -
else else
(which sensible-pager >/dev/null) && PAGER=sensible-pager || PAGER=less (which sensible-pager >/dev/null) && PAGER=sensible-pager || PAGER=less
exec byobu-status --detail | $PAGER byobu-status --detail | $PAGER
fi fi