repositories
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add mutt-multi-account-setup
[dotfiles.git]
/
shell
/
.local
/
bin
/
update
diff --git
a/shell/.local/bin/update
b/shell/.local/bin/update
index
c73968f
..
0321d45
100755
(executable)
--- a/
shell/.local/bin/update
+++ b/
shell/.local/bin/update
@@
-1,5
+1,7
@@
#!/bin/sh
#!/bin/sh
-NUL='>/dev/null 2>&1'
+NUL=">/dev/null 2>&1"
+
+vdirsyncer sync
cmd() {
echo -n 'apt-get update && apt-get dist-upgrade && '
cmd() {
echo -n 'apt-get update && apt-get dist-upgrade && '
@@
-7,4
+9,11
@@
cmd() {
}
sudo sh -c "$(cmd)"
}
sudo sh -c "$(cmd)"
-sh -c "tlmgr update --all && offlineimap -o -u ttyui && khal $NUL && khard $NUL && pass git pull origin master"
+tlmgr update --self && tlmgr update --all
+eval "khal calendar $NUL"
+eval "khard $NUL"
+pass git pull origin master
+if ! tmux list-sessions
+then
+ tmuxmail
+fi