Prevent error in emacs-bookmark.zsh
This commit is contained in:
@ -289,7 +289,7 @@ compdef _bmrm bmrm
|
||||
|
||||
function __bm_precmd_hook {
|
||||
# Auto reload
|
||||
if [[ "${BM_AUTO_RELOAD}" == true ]] &&
|
||||
if [[ "${BM_AUTO_RELOAD}" == true ]] && [[ -e "${BM_BOOKMARK_PATH}" ]] &&
|
||||
(( ${__bm_last_read_time} < $(zstat +mtime "${BM_BOOKMARK_PATH}") )); then
|
||||
__bm_update_bookmark_list
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user