summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2021-11-03 23:26:25 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2021-11-03 23:26:25 +0900
commitf799b568d1a5644188b6edaeec3df5167b3e2268 (patch)
treea6174541d4fd096cc109e93264d93a22b53ff17d /shell
parent7bff4661f6961fa9a7aad83f8cabc1bc6eb5c787 (diff)
[bash] Suppress error message from 'bind'
Fix #2618
Diffstat (limited to 'shell')
-rw-r--r--shell/completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/completion.bash b/shell/completion.bash
index a9e6d4c1..21aa4505 100644
--- a/shell/completion.bash
+++ b/shell/completion.bash
@@ -32,7 +32,7 @@ fi
###########################################################
# To redraw line after fzf closes (printf '\e[5n')
-bind '"\e[0n": redraw-current-line'
+bind '"\e[0n": redraw-current-line' 2> /dev/null
__fzf_comprun() {
if [[ "$(type -t _fzf_comprun 2>&1)" = function ]]; then