Compare commits

...

2 Commits

View File

@@ -289,7 +289,7 @@ compdef _bmrm bmrm
function __bm_precmd_hook { function __bm_precmd_hook {
# Auto reload # 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_last_read_time} < $(zstat +mtime "${BM_BOOKMARK_PATH}") )); then
__bm_update_bookmark_list __bm_update_bookmark_list
fi fi