zeesh/base/updates.zsh
Nicole O'Connor 4ac1ca7f6c update checks
2020-04-21 16:40:28 -07:00

10 lines
240 B
Bash

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