From cacc3dce03a646bc37c68ea8a26ddf34fb3291a2 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 15 Jan 2013 18:59:51 -0600 Subject: [PATCH] clean up keybindings file with better sed's --- debian/changelog | 1 + usr/bin/byobu-ctrl-a | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d04ec0f7..1b9f7783 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,7 @@ byobu (5.28) unreleased; urgency=low * usr/bin/byobu-ctrl-a: LP: #1004031 - fix some bad problems introduced by single quotes - escape double quotes instead + - clean up keybindings file with better sed's -- Dustin Kirkland Mon, 14 Jan 2013 15:27:36 -0600 diff --git a/usr/bin/byobu-ctrl-a b/usr/bin/byobu-ctrl-a index 60e21338..b42bdc1b 100755 --- a/usr/bin/byobu-ctrl-a +++ b/usr/bin/byobu-ctrl-a @@ -81,7 +81,7 @@ case "$bind_to" in emacs) case "$BYOBU_BACKEND" in screen) - $BYOBU_SED -i -e "/^register x /d" -e "/^bindkey \"^\"/d" -e "/^escape escape \^${KEY}${key}/d" "$keybindings" + $BYOBU_SED -i -e "/^register x /d" -e "/^bindkey /d" -e "/^escape /d" "$keybindings" echo "bindkey \"^${KEY}\"" >> "$keybindings" $BYOBU_BACKEND -X at 0 source "$BYOBU_CONFIG_DIR/profile" ;;