From f799b568d1a5644188b6edaeec3df5167b3e2268 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 3 Nov 2021 23:26:25 +0900 Subject: [PATCH] [bash] Suppress error message from 'bind' Fix #2618 --- shell/completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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