Update emacs-bookmark.zsh
This commit is contained in:
parent
7f7aa9def4
commit
8d3ef4b4e4
@ -124,7 +124,7 @@ function bm {
|
||||
return 1
|
||||
fi
|
||||
else
|
||||
printf 'No such bookmark: "%s"\n' "${__bm_res[1]}"
|
||||
printf 'No such bookmark: "%s"\n' "${1}"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
@ -200,6 +200,7 @@ function bmadd {
|
||||
res)")"
|
||||
[[ "${res}" = 'nil' ]] && printf 'Added bookmark "%s"\n' "${name}" \
|
||||
|| { printf '%s\n' "${res}"; return 1 }
|
||||
__bm_update_bookmark_list
|
||||
}
|
||||
function _bmadd {
|
||||
_arguments ':file:_files' ':name'
|
||||
|
Loading…
Reference in New Issue
Block a user