aboutsummaryrefslogtreecommitdiff
path: root/ksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-06 19:46:24 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-06 19:46:24 +1300
commit0e370365bbc200941195b1255cf71d4a7d807d6f (patch)
treeccda15d8c75deb513927b19b0f45cff4ade1f244 /ksh
parentf37c1c09bea09adc9e520d21b873ef2e38ebd958 (diff)
downloaddotfiles-0e370365bbc200941195b1255cf71d4a7d807d6f.tar.gz
Appease ShellCheck
Diffstat (limited to 'ksh')
-rw-r--r--ksh/kshrc.d/bind.ksh5
1 files changed, 3 insertions, 2 deletions
diff --git a/ksh/kshrc.d/bind.ksh b/ksh/kshrc.d/bind.ksh
index af024fb9..c72a8674 100644
--- a/ksh/kshrc.d/bind.ksh
+++ b/ksh/kshrc.d/bind.ksh
@@ -3,6 +3,7 @@ case $KSH_VERSION in
*'93'*)
bind() {
+ # shellcheck disable=SC2154
case ${.sh.edchar} in
$'\f') .sh.edchar=$'\e\f' ;;
esac
@@ -11,11 +12,11 @@ case $KSH_VERSION in
;;
*'MIRBSD KSH'*)
- bind ^L=clear-screen
+ bind '^L'='clear-screen'
;;
*'PD KSH'*)
- bind -m '^L'='^U'clear'^J^Y'
+ bind -m '^L'='^Uclear^J^Y'
;;
esac