diff --git a/debian/changelog b/debian/changelog index 28b92946..0c2fe6c4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 20 Jan 2009 15:43:47 -0600 + -- Dustin Kirkland Tue, 20 Jan 2009 15:51:27 -0600 screen-profiles (1.11-0ubuntu1) jaunty; urgency=low diff --git a/profiles/common b/profiles/common index ba6468f4..27e24b41 100644 --- a/profiles/common +++ b/profiles/common @@ -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 diff --git a/select-screen-profile b/select-screen-profile index 0df77e27..503a2ac8 100755 --- a/select-screen-profile +++ b/select-screen-profile @@ -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