From 5ac708a8d47752d57ede5b616357e961c77978e5 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Thu, 24 Mar 2011 01:56:18 +0100 Subject: Add suffix aliases for useful things. --- .zsh/zshrc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.zsh/zshrc b/.zsh/zshrc index 16dd604..898e638 100644 --- a/.zsh/zshrc +++ b/.zsh/zshrc @@ -41,6 +41,20 @@ alias CH='./configure --help | less' alias FF='noglob firefox' alias IE='isabelle emacs -m iff' +# suffixes +alias -s exe='wine' +alias -s pdf='xdg-open' +alias -s JPG='feh -F' +alias -s jpg='feh -F' +alias -s png='feh -F' +alias -s zip='unzip' +alias -s gz='tar -xf' +alias -s bz2='tar -xf' +alias -s rar='rar -e' +alias -s mp3='mplayer' +alias -s ogg='mplayer' +alias -s flac='mplayer' + # ~/.bins stuff alias sdedit='java -jar ~/.bins/sdedit-3.0.4.jar' -- cgit v1.2.3-70-g09d2