Update emacs-bookmark.zsh

This commit is contained in:
Alexander Rosenberg 2024-08-27 18:39:17 -07:00
parent 38f0a9fc2b
commit aab934f5a1
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -145,6 +145,7 @@ function bm {
fi fi
} }
function _bm { function _bm {
(( "${CURRENT}" == 2 )) || return
local arg="${(Q)words[${CURRENT}]}" local arg="${(Q)words[${CURRENT}]}"
if ! [[ "${arg}" == */* ]]; then if ! [[ "${arg}" == */* ]]; then
for ((i = 1; i < ${#__bm_bookmark_cache}; i+=4)); do for ((i = 1; i < ${#__bm_bookmark_cache}; i+=4)); do