From 5c4a5dc85da002491d6eb0e6f6b567dde8caf7dc Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 6 Jan 2017 20:04:55 +1300 Subject: Rename keyboard trap func less ambiguously --- ksh/kshrc.d/bind.ksh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ksh') diff --git a/ksh/kshrc.d/bind.ksh b/ksh/kshrc.d/bind.ksh index 63b46162..34cb5f5a 100644 --- a/ksh/kshrc.d/bind.ksh +++ b/ksh/kshrc.d/bind.ksh @@ -3,13 +3,13 @@ case $KSH_VERSION in # ksh93 is lovely, but complex; rebind ^L so it does the same as Alt-^L *'93'*) - bind() { + keybd_trap() { # shellcheck disable=SC2154 case ${.sh.edchar} in $'\f') .sh.edchar=$'\e\f' ;; esac } - trap bind KEYBD + trap keybd_trap KEYBD ;; # More straightforward with mksh; bind keys to the appropriate emacs mode -- cgit v1.2.3