mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
clean up keybindings file with better sed's
This commit is contained in:
parent
1492fa43f2
commit
cacc3dce03
2 changed files with 2 additions and 1 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -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 <kirkland@ubuntu.com> Mon, 14 Jan 2013 15:27:36 -0600
|
||||
|
||||
|
|
|
@ -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"
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue