Ignore nobeep argument

zsh puts 'nobeep' when sourcing fzf-git.sh file, if `set nobeep` is set.

Fix #7
main
Junegunn Choi 2 years ago
parent e44dfb3319
commit bfcd68d3b4
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -47,6 +47,7 @@ if [[ $# -eq 1 ]]; then
echo $'CTRL-O (open in browser) ALT-E (examine in editor)\n' echo $'CTRL-O (open in browser) ALT-E (examine in editor)\n'
refs 'cat' refs 'cat'
;; ;;
nobeep) ;;
*) exit 1 ;; *) exit 1 ;;
esac esac
elif [[ $# -gt 1 ]]; then elif [[ $# -gt 1 ]]; then

Loading…
Cancel
Save