add mutt-multi-account-setup
[dotfiles.git] / shell / .local / bin / update
index f9c8470..0321d45 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
-NUL='>/dev/null 2>&1'
+NUL=">/dev/null 2>&1"
 
-offlineimap -o -u ttyui
+vdirsyncer sync
 
 cmd() {
        echo -n 'apt-get update && apt-get dist-upgrade && '
@@ -10,8 +10,8 @@ cmd() {
 
 sudo sh -c "$(cmd)"
 tlmgr update --self && tlmgr update --all
-khal calendar $NUL
-khard $NUL
+eval "khal calendar $NUL"
+eval "khard $NUL"
 pass git pull origin master
 if ! tmux list-sessions
 then