summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-01-14 23:34:11 +0200
committerDylan Araps <dylan.araps@gmail.com>2019-01-14 23:34:11 +0200
commit5a4452e9d64b3dda753b78d63594e87a7af76770 (patch)
treecddd281103668d9ef3164fd7eca47d18ea3122cf
parent98a24ed209762882aee4512b7f99c6f7e9d99d2c (diff)
general: fixed shellcheck errorkey-binds2
-rwxr-xr-xfff5
1 files changed, 2 insertions, 3 deletions
diff --git a/fff b/fff
index d75e58e..2fe1254 100755
--- a/fff
+++ b/fff
@@ -443,7 +443,6 @@ cmd_line() {
}
key() {
- # shellcheck disable=SC2153
case "$1" in
# Open list item.
# 'C' is what bash sees when the right arrow is pressed ('\e[C').
@@ -460,8 +459,8 @@ key() {
# key is pressed.
"${FFF_KEY_PARENT1:=h}"|\
"${FFF_KEY_PARENT2:=D}"|\
- "${FFF_KEY_PARENT3=$'\177'}"|\
- "${FFF_KEY_PARENT4=$'\b'}")
+ "${FFF_KEY_PARENT3:=$'\177'}"|\
+ "${FFF_KEY_PARENT4:=$'\b'}")
# If a search was done, clear the results and open the current dir.
if ((search == 1)); then
open "$PWD"