From: Mart Lubbers Date: Sun, 4 Jun 2017 13:19:45 +0000 (+0200) Subject: reenable sidebar merge X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=4b436b147222f2e4b6be9be24e63114030ffdfd1;p=dotfiles.git reenable sidebar merge --- 4b436b147222f2e4b6be9be24e63114030ffdfd1 diff --cc shell/.local/bin/update index a25812b,0000000..086ef27 mode 100644,000000..100755 --- a/shell/.local/bin/update +++ b/shell/.local/bin/update @@@ -1,16 -1,0 +1,17 @@@ +#!/bin/sh +DV=/etc/debian_version ++NUL='>/dev/null 2>&1' + +cmd() { + if [ -f $DV ] + then + echo -n 'apt-get update && apt-get dist-upgrade -y ' + [ `head -c 1 $DV` -ge 9 ] && echo -n '--' || -n '&& apt-get ' + echo -n 'autoremove --purge && apt-get clean && apt-get autoclean' + else + echo -n 'pacman -Syu && pacman -R `pacman -Qdtq`' + fi +} + - sudo sh -c "$(cmd)" - sh -c 'offlineimap -u ttyui && vdirsyncer sync && khal && khard' ++sudo sh -c "`cmd`" ++sh -c "offlineimap -u ttyui && vdirsyncer sync && khal $NUL && khard $NUL" diff --cc vim/.vim/spell/en.utf-8.add index f82bc52,b61c651..97ca7c2 --- a/vim/.vim/spell/en.utf-8.add +++ b/vim/.vim/spell/en.utf-8.add @@@ -6,4 -6,5 +6,5 @@@ disfluencie cepstral diphone SDS -Berenzweig +Microcontrollers + tonotopic