diff --git a/emacs-bookmark.zsh b/emacs-bookmark.zsh index b749a92..cc3438e 100644 --- a/emacs-bookmark.zsh +++ b/emacs-bookmark.zsh @@ -58,7 +58,7 @@ function __bm_hash_dirs { # Then add the hash dirs for ((i = 1; i < ${#__bm_bookmark_cache}; i+=4)); do - local name="${__bm_bookmark_cache[${i}]://=/}" + local name="${__bm_bookmark_cache[${i}]//=/}" hash -d "${name}=${__bm_bookmark_cache[${i} + 2]}" done }