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

@ -22,7 +22,11 @@ print_time_log "sync-tasks" "Synchronizing tasks"
export TASKDATA="/home/severin/tasks"
export TASKRC="/home/severin/.config/task/taskrc"
task sync
task sync
if [ "${IS_WORK}" = "1" ]; then
export GIT_SSH_COMMAND="ssh -i /home/severin/.ssh/severin_id_rsa"
fi
cd "/home/severin/tasks" || exit
git pull > /dev/null 2>&1