diff options
author | David Runge <david.runge@frqrec.com> | 2014-06-17 15:33:49 +0200 |
---|---|---|
committer | David Runge <david.runge@frqrec.com> | 2014-06-17 15:33:49 +0200 |
commit | e1de2e03a7ab7bdbd978ee92ac4340984a0af777 (patch) | |
tree | fc2c8fc316cae80594215fb49992137a9295c9e3 | |
parent | 78ef66d232c2f80fc6d20859bf514719dc1eb3e1 (diff) | |
download | dotfiles-e1de2e03a7ab7bdbd978ee92ac4340984a0af777.tar.gz dotfiles-e1de2e03a7ab7bdbd978ee92ac4340984a0af777.tar.bz2 dotfiles-e1de2e03a7ab7bdbd978ee92ac4340984a0af777.tar.xz dotfiles-e1de2e03a7ab7bdbd978ee92ac4340984a0af777.zip |
Retabbing, customizing to my user
-rw-r--r-- | .zsh.after/unixpool | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/.zsh.after/unixpool b/.zsh.after/unixpool index d3498a1..e2edade 100644 --- a/.zsh.after/unixpool +++ b/.zsh.after/unixpool @@ -49,23 +49,23 @@ fi ## FUNCTIONS function music_update() { - echo "updating zip files" - for i in */*; - do - name=`echo $i | sed 's/\ /_/g' | sed 's/\//-/g'` - if [ ! -e $name.zip ]; - then - echo "packing $i as $name.zip" - zip -r $name.zip $i - fi - done - echo "done" + echo "updating zip files" + for i in */*; + do + name=`echo $i | sed 's/\ /_/g' | sed 's/\//-/g'` + if [ ! -e $name.zip ]; + then + echo "packing $i as $name.zip" + zip -r $name.zip $i + fi + done + echo "done" } function makantine() { - wget http://personalkantine.personalabteilung.tu-berlin.de/pdf/MA-aktuell.pdf -O /tmp/makantine.$$.pdf >&/dev/null - xpdf -cont -z page /tmp/makantine.$$.pdf - rm -f /tmp/makantine.$$.pdf + wget http://personalkantine.personalabteilung.tu-berlin.de/pdf/MA-aktuell.pdf -O /tmp/makantine.$$.pdf >&/dev/null + xpdf -cont -z page /tmp/makantine.$$.pdf + rm -f /tmp/makantine.$$.pdf } function pxeln() { @@ -121,5 +121,5 @@ function pxeln() { } function mailhighscore() { - for i in /homes/wheel/*; do n=`basename $i`; echo `grep $n /var/spool/mail/konni | grep -c From` $n; done | sort -nr + for i in /homes/wheel/*; do n=`basename $i`; echo `grep $n /var/spool/mail/runge | grep -c From` $n; done | sort -nr } |