aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-06-19 10:56:34 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-06-19 10:56:34 +0800
commit74961e18f5807d498327f925c53e586d8e3d86f1 (patch)
tree26ce4e190faeef24008bedffa35998619ad77099 /zsh
parentb62a48c0e846e108f43e8572587c1d823c5af04a (diff)
Update
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zshrc2
1 files changed, 1 insertions, 1 deletions
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() {
49 49
50function _already_sync_after_wakeup() { 50function _already_sync_after_wakeup() {
51 latest=$(date -d @`stat -c %Y ~/.wakeup` +%s) 51 latest=$(date -d @`stat -c %Y ~/.wakeup` +%s)
52 if [ $latest -ge $(cat ~/.wakeup) ]; then 52 if [ $latest -gt $(cat ~/.wakeup) ]; then
53 return 0 53 return 0
54 else 54 else
55 return 1 55 return 1