minor changes
[dotfiles.git] / shell / .local / bin / update
index f9c8470..69ed36f 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-NUL='>/dev/null 2>&1'
+NUL=">/dev/null 2>&1"
 
 offlineimap -o -u ttyui
 
@@ -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