Skip to content

Commit

Permalink
[bash] Suppress error message from 'bind'
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Nov 3, 2021
1 parent 7bff466 commit f799b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f799b56

Please sign in to comment.