From 74961e18f5807d498327f925c53e586d8e3d86f1 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Mon, 19 Jun 2023 10:56:34 +0800 Subject: Update --- zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zsh') diff --git a/zsh/zshrc b/zsh/zshrc index 2074cc0..d8043c6 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -49,7 +49,7 @@ function _get_context() { function _already_sync_after_wakeup() { latest=$(date -d @`stat -c %Y ~/.wakeup` +%s) - if [ $latest -ge $(cat ~/.wakeup) ]; then + if [ $latest -gt $(cat ~/.wakeup) ]; then return 0 else return 1 -- cgit v1.2.3-70-g09d2