X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.local%2Fbin%2Fupdate;h=0321d45da66f315db8fa842f4752d5dcb03aac60;hb=57600e32012ce55c030a1db99d6d3f9e2c772e04;hp=f9c847031fe88e0f14f5b1ce958f3974ab217239;hpb=a512afc0dc1ab7513a2788a3c42de1e25d320ac7;p=dotfiles.git diff --git a/shell/.local/bin/update b/shell/.local/bin/update index f9c8470..0321d45 100755 --- a/shell/.local/bin/update +++ b/shell/.local/bin/update @@ -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