aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zshrc')
-rw-r--r--zsh/zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 7492456..d361cf5 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -53,7 +53,7 @@ function _already_sync_after_wakeup() {
53 53
54 latest=$(date -d @`stat -c %X "$WAKEUP"` +%s) 54 latest=$(date -d @`stat -c %X "$WAKEUP"` +%s)
55 # If sync time is older than wakeup time (timestamp in file), then return false 55 # If sync time is older than wakeup time (timestamp in file), then return false
56 if [ $latest -gt $(cat "$WAKEUP") ]; then 56 if [ $latest -gt "$(cat $WAKEUP)" ]; then
57 return 0 57 return 0
58 else 58 else
59 return 1 59 return 1