[bash] Suppress error message from 'bind'

Fix #2618
This commit is contained in:
Junegunn Choi 2021-11-03 23:26:25 +09:00
parent 7bff4661f6
commit f799b568d1
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -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