Fix emacs-bookmark.zsh (again)
This commit is contained in:
parent
aab934f5a1
commit
79695758a5
@ -151,6 +151,7 @@ function _bm {
|
||||
for ((i = 1; i < ${#__bm_bookmark_cache}; i+=4)); do
|
||||
compadd -q -S '/' "${__bm_bookmark_cache[${i}]}"
|
||||
done
|
||||
printf '' # I don't know why, but this fixes things
|
||||
else
|
||||
__bm_bookmark_location "${arg}"
|
||||
if [[ -d "${__bm_res[1]}" ]]; then
|
||||
@ -170,7 +171,7 @@ function _bm {
|
||||
prefix+='/'
|
||||
fi
|
||||
compset -P "${(b)prefix}"
|
||||
for file in "${pre_path}${search}"*; do
|
||||
for file in "${pre_path}"*; do
|
||||
compadd -W "${pre_path}" -f "${file:t}"
|
||||
done
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user