~kirkland/byobu/trunk

« back to all changes in this revision

Viewing changes to usr/bin/byobu-enable.in

  • Committer: kirkland at ubuntu
  • Date: 2023-11-22 22:45:43 UTC
  • Revision ID: kirkland@ubuntu.com-20231122224543-v5igclwtj4xga8tm
Permanently moved Byobu source code repository to https://github.com/dustinkirkland/byobu

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -e
2
 
#
3
 
#    byobu-enable: enable launch byobu at login
4
 
#    Copyright (C) 2010 Canonical Ltd.
5
 
#
6
 
#    Authors: Dustin Kirkland <kirkland@byobu.org>
7
 
#
8
 
#    This program is free software: you can redistribute it and/or modify
9
 
#    it under the terms of the GNU General Public License as published by
10
 
#    the Free Software Foundation, version 3 of the License.
11
 
#
12
 
#    This program is distributed in the hope that it will be useful,
13
 
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
#    GNU General Public License for more details.
16
 
#
17
 
#    You should have received a copy of the GNU General Public License
18
 
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
 
 
20
 
PKG="byobu"
21
 
[ -r "$HOME/.byoburc" ] && . "$HOME/.byoburc"
22
 
[ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="@prefix@" || export BYOBU_PREFIX
23
 
. "${BYOBU_PREFIX}/lib/${PKG}/include/common"
24
 
 
25
 
byobu-launcher-install
26
 
 
27
 
echo
28
 
echo "The Byobu window manager will be launched automatically at each text login."
29
 
echo
30
 
echo "To disable this behavior later, just run:"
31
 
echo "  byobu-disable"
32
 
echo
33
 
 
34
 
# vi: syntax=sh ts=4 noexpandtab