dotfiles

Yes, my $HOME has a git repo now :(

git clone git://git.shimmy1996.com/dotfiles.git

previewer (275B)

    1 #!/bin/sh
    2 
    3 case "$1" in
    4     *.png|*.jpg|*.jpeg|*.gif|*.PNG|*.JPG) catimg -r 2 -w 110 -t "$1";;
    5     *.tar*) tar tf "$1";;
    6     *.zip) unzip -l "$1";;
    7     *.rar) unrar l "$1";;
    8     *.7z) 7z l "$1";;
    9     *.pdf) pdftotext "$1" -;;
   10     *) highlight -O ansi "$1" || cat "$1";;
   11 esac