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
f9c8470
..
0321d45
100755
(executable)
--- a/
shell/.local/bin/update
+++ b/
shell/.local/bin/update
@@
-1,7
+1,7
@@
#!/bin/sh
#!/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 && '
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
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
pass git pull origin master
if ! tmux list-sessions
then