diff --git a/emacs-bookmark.zsh b/emacs-bookmark.zsh index 36f71a7..5809224 100644 --- a/emacs-bookmark.zsh +++ b/emacs-bookmark.zsh @@ -145,6 +145,7 @@ function bm { fi } function _bm { + (( "${CURRENT}" == 2 )) || return local arg="${(Q)words[${CURRENT}]}" if ! [[ "${arg}" == */* ]]; then for ((i = 1; i < ${#__bm_bookmark_cache}; i+=4)); do