Enable tasks and notes in work environment

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-06-17 21:29:40 +02:00
parent 5f170c2db6
commit 0fb408fc24
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
6 changed files with 25 additions and 27 deletions

View file

@ -19,6 +19,10 @@ fi
print_time_log "sync-notes" "Synchronizing notes"
if [ "${IS_WORK}" = "1" ]; then
export GIT_SSH_COMMAND="ssh -i /home/severin/.ssh/severin_id_rsa"
fi
cd "/home/severin/notes" || exit
git pull > /dev/null 2>&1
git add --all > /dev/null 2>&1