mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
Sanitize the local user's setup
This commit is contained in:
parent
44c02072a5
commit
48ef3f05d9
1 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash -e
|
||||
#
|
||||
# GNU screen-profiles-helper
|
||||
# screen-launcher
|
||||
# Copyright (C) 2008 Canonical Ltd.
|
||||
#
|
||||
# Authors: Nick Barcet <nick.barcet@ubuntu.com>
|
||||
|
@ -20,6 +20,12 @@
|
|||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
# Sanitize the local user's setup
|
||||
for i in ".screenrc-keybindings" ".screenrc-windows"; do
|
||||
if [ ! -e "$HOME/$i" ]; then
|
||||
touch "$HOME/$i"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$TERM" != "screen" ]; then
|
||||
screen -xRR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue