aboutsummaryrefslogtreecommitdiffstats
path: root/.zsh.after
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-06-17 16:08:49 +0200
committerDavid Runge <david.runge@frqrec.com>2014-06-17 16:08:49 +0200
commit9660eb720076fbc199cd2d4561ba2bd6d865399f (patch)
treecade55f153b5107a6e5d6c8e08e52364f2f6d332 /.zsh.after
parentc815af6f5c4f29291fc68967afe2458a1ec581b0 (diff)
parent3b44361df3ede6208faa6fc97d584d33889dedf5 (diff)
downloaddotfiles-9660eb720076fbc199cd2d4561ba2bd6d865399f.tar.gz
dotfiles-9660eb720076fbc199cd2d4561ba2bd6d865399f.tar.bz2
dotfiles-9660eb720076fbc199cd2d4561ba2bd6d865399f.tar.xz
dotfiles-9660eb720076fbc199cd2d4561ba2bd6d865399f.zip
Merge branch 'master' of https://github.com/davezerave/dot
Merging server side irssi settings and work-related ignores * 'master' of https://github.com/davezerave/dot: Adding bindings for vi-copy mode in tmux Adding more work related ignores Adding octave support Retabbing, customizing to my user Adding more bbb specific JACK settings Adding alias for checking for video devices in /dev Adding settings for my version of scvim, to be able to configure split-size and split orientation of the sclang output when using scvim in tmux and screen
Diffstat (limited to '.zsh.after')
-rw-r--r--.zsh.after/aliases.zsh1
-rw-r--r--.zsh.after/unixpool30
2 files changed, 16 insertions, 15 deletions
diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh
index 76c8689..7659e00 100644
--- a/.zsh.after/aliases.zsh
+++ b/.zsh.after/aliases.zsh
@@ -30,6 +30,7 @@ alias llt='ls -ltr'
alias la='ls -A'
alias lla='ls -lA'
alias lsfw='ls -lah /dev|grep fw'
+alias lsvid='ls -lah /dev|grep video'
#grep aliases (with excluded directories)
alias grepdot='grep -rI --exclude-dir=".steam" --exclude-dir=".local" --exclude-dir=".thunderbird" --exclude-dir=".mozilla" --exclude-dir="git" --exclude-dir=".rvm" --exclude-dir=".log" --exclude-dir=".dropbox-dist" --exclude-dir=".config" '
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
}