* profiles/common, select-screen-profile: add support for sourcing

individual user's ~/.screenrc-keybindings file
This commit is contained in:
Dustin Kirkland 2009-01-20 21:29:12 -06:00
commit 95a4d8c3e3
3 changed files with 11 additions and 2 deletions

6
debian/changelog vendored
View file

@ -1,8 +1,10 @@
screen-profiles (1.12) UNRELEASED; urgency=low
*
[ Dustin Kirkland ]
* profiles/common, select-screen-profile: add support for sourcing
individual user's ~/.screenrc-keybindings file
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 20 Jan 2009 15:43:47 -0600
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 20 Jan 2009 15:51:27 -0600
screen-profiles (1.11-0ubuntu1) jaunty; urgency=low

View file

@ -49,6 +49,10 @@ defscrollback 10000
# Default keybindings
source /usr/share/screen-profiles/keybindings/common
# Additional, user-defined/overriding keybindings should be placed
# in each user's ~/.screenrc-keybindings
source ~/.screenrc-keybindings
# Default windows
# Windows list should be placed in each user's ~/.screenrc-windows,
# to be configurable

View file

@ -135,6 +135,9 @@ setprofile() {
if [ ! -e "$HOME/.screenrc-windows" ]; then
cp "$BASE_DIR/windows/common" "$HOME/.screenrc-windows"
fi
if [ ! -e "$HOME/.screenrc-keybindings" ]; then
touch "$HOME/.screenrc-keybindings"
fi
}
if [ $# -eq 0 ]; then