mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* profiles/common, select-screen-profile: add support for sourcing
individual user's ~/.screenrc-keybindings file
This commit is contained in:
parent
dcd71aa85b
commit
95a4d8c3e3
3 changed files with 11 additions and 2 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,8 +1,10 @@
|
||||||
screen-profiles (1.12) UNRELEASED; urgency=low
|
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
|
screen-profiles (1.11-0ubuntu1) jaunty; urgency=low
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,10 @@ defscrollback 10000
|
||||||
# Default keybindings
|
# Default keybindings
|
||||||
source /usr/share/screen-profiles/keybindings/common
|
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
|
# Default windows
|
||||||
# Windows list should be placed in each user's ~/.screenrc-windows,
|
# Windows list should be placed in each user's ~/.screenrc-windows,
|
||||||
# to be configurable
|
# to be configurable
|
||||||
|
|
|
@ -135,6 +135,9 @@ setprofile() {
|
||||||
if [ ! -e "$HOME/.screenrc-windows" ]; then
|
if [ ! -e "$HOME/.screenrc-windows" ]; then
|
||||||
cp "$BASE_DIR/windows/common" "$HOME/.screenrc-windows"
|
cp "$BASE_DIR/windows/common" "$HOME/.screenrc-windows"
|
||||||
fi
|
fi
|
||||||
|
if [ ! -e "$HOME/.screenrc-keybindings" ]; then
|
||||||
|
touch "$HOME/.screenrc-keybindings"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue