More stuff for older versions

This commit is contained in:
Alexander Rosenberg 2025-02-17 01:57:44 -08:00
parent b5c3ea0edb
commit d20b129666
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -289,8 +289,8 @@ 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 ]] &&
(( ${__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
} }