summaryrefslogtreecommitdiff
path: root/etc/aliases/suffix
diff options
context:
space:
mode:
Diffstat (limited to 'etc/aliases/suffix')
-rw-r--r--etc/aliases/suffix20
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