update checks

This commit is contained in:
Nicole O'Connor
2020-04-21 16:39:58 -07:00
parent 0b9bff4d08
commit 4ac1ca7f6c
3 changed files with 12 additions and 0 deletions

9
base/updates.zsh Normal file
View File

@@ -0,0 +1,9 @@
if type git &> /dev/null; then
ticker_message "zeesh: pulling from git" # TODO: less frequently, and background
start_dir="$(pwd)"
cd ~/.local/share/zeesh
git pull &> ~/.local/share/zeesh/pull.log
cd "${start_dir}"
fi