mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/bin/byobu, usr/lib/byobu/.constants:
- support tmux -V version
This commit is contained in:
parent
85a5d32eb9
commit
ae10013ee3
3 changed files with 11 additions and 3 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -23,6 +23,8 @@ byobu (4.18) unreleased; urgency=low
|
||||||
* etc/byobu/backend, usr/lib/byobu/.constants:
|
* etc/byobu/backend, usr/lib/byobu/.constants:
|
||||||
- add support for storing byobu backend configuration (screen|tmux)
|
- add support for storing byobu backend configuration (screen|tmux)
|
||||||
* debian/control: start suggesting tmux
|
* debian/control: start suggesting tmux
|
||||||
|
* usr/bin/byobu, usr/lib/byobu/.constants:
|
||||||
|
- support tmux -V version
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Jun 2011 02:26:28 +0000
|
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Jun 2011 02:26:28 +0000
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ if [ "$#" = "1" ]; then
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-v|--version)
|
-v|--version)
|
||||||
echo "$PKG version $VERSION"
|
echo "$PKG version $VERSION"
|
||||||
exec $BYOBU_BACKEND -v
|
exec $BYOBU_BACKEND $BYOBU_ARG_VERSION
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -26,8 +26,14 @@ if [ -z "$BYOBU_BACKEND" ];
|
||||||
[ -r "$BYOBU_CONFIG_DIR/backend" ] && . "$BYOBU_CONFIG_DIR/backend"
|
[ -r "$BYOBU_CONFIG_DIR/backend" ] && . "$BYOBU_CONFIG_DIR/backend"
|
||||||
fi
|
fi
|
||||||
case "$BYOBU_BACKEND" in
|
case "$BYOBU_BACKEND" in
|
||||||
screen|tmux) export BYOBU_BACKEND ;;
|
tmux)
|
||||||
*) export BYOBU_BACKEND="screen" ;;
|
export BYOBU_BACKEND
|
||||||
|
BYOBU_ARG_VERSION="-V"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
export BYOBU_BACKEND="screen"
|
||||||
|
BYOBU_ARG_VERSION="-v"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Create and set the user configuration directory
|
# Create and set the user configuration directory
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue