diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-12 22:02:20 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-12 22:02:20 +0100 |
commit | c7927ea61730bd6d8a283078d89dffdca08535cd (patch) | |
tree | 2f6098a2aa4070d9d35c6a4c1cf9614a8da9c0f6 /etc/aliases/suffix | |
parent | d3d4767fb5ba7e036cdbb8e351f678e54e95078f (diff) |
Merge stuff into .zshrc
Diffstat (limited to 'etc/aliases/suffix')
-rw-r--r-- | etc/aliases/suffix | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/etc/aliases/suffix b/etc/aliases/suffix deleted file mode 100644 index 2587c3e..0000000 --- a/etc/aliases/suffix +++ /dev/null @@ -1,20 +0,0 @@ -## Sufix aliases -## Like, enter "somefile.ogg" and zsh will automatically open it using $audio_app -## vim:ft=zsh - -typeset -A alias_apps -alias_apps=( - archive extract - audio mplayer - document kpdf - image feh - video mplayer -) - -for meta in ${parameters[(I)mime_*]#mime_}; { - for format in $(eval echo "$"mime_$meta); { - alias -s $format=$alias_apps[$meta] - } -} - -unset filetypes meta format alias_apps |