diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2023-06-19 10:56:34 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2023-06-19 10:56:34 +0800 |
| commit | 74961e18f5807d498327f925c53e586d8e3d86f1 (patch) | |
| tree | 26ce4e190faeef24008bedffa35998619ad77099 /zsh | |
| parent | b62a48c0e846e108f43e8572587c1d823c5af04a (diff) | |
Update
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -49,7 +49,7 @@ function _get_context() { | |||
| 49 | 49 | ||
| 50 | function _already_sync_after_wakeup() { | 50 | function _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 |