mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
usr/bin/byobu-status-detail: make a couple of minor modifications
noticed while investigating the already-fixed LP: #750887
This commit is contained in:
parent
5d8990b2fd
commit
5a7463f92d
2 changed files with 4 additions and 2 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue