diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-09-21 10:22:57 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-09-21 10:22:57 +0200 |
commit | cb4ae4ff87273ed07975c5f09c65b862e46928c0 (patch) | |
tree | f0267717ae0c9779d1d661f0f7fc8c8e4d678971 | |
parent | 441c82846f60949421a49f795e114bab2ad191d2 (diff) |
New aliases
lsi: list image files
lsz: list a zip file's content
suffix aliases for domains
-rw-r--r-- | etc/alias/short | 6 | ||||
-rw-r--r-- | etc/alias/suffix | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/etc/alias/short b/etc/alias/short index 134c47b..ee4fedb 100644 --- a/etc/alias/short +++ b/etc/alias/short @@ -47,10 +47,12 @@ alias hgs='hg status' alias hgu='hg update' alias hgv='hg verify' -# List archive files +# File listings alias lsb='tar tvjf' +alias lsgz='tar tvzf' +alias lsi='feh --list' alias lst='tar tvf' -alias lsz='tar tvzf' +alias lsz='unzip -l' alias nb='newsbeuter' alias nbr='newsbeuter -r' diff --git a/etc/alias/suffix b/etc/alias/suffix index e5c2b74..2b2af98 100644 --- a/etc/alias/suffix +++ b/etc/alias/suffix @@ -3,7 +3,7 @@ ## vim:ft=zsh # part 1: what filetypes to open whith what app? # List of filetypes covered by aliases -filetypes=(archive audio midi video image document raw office emul) +filetypes=(archive audio midi video image document raw office emul web) # File extensions archive_formats=(tar.bz2 tar.gz tar bz2 gz zip rar) @@ -15,6 +15,7 @@ document_formats=(pdf ps) raw_formats=(conf ini log txt htm html xhtml c cpp lst) office_formats=(doc odt ott rtf sxw) emul_formats=(exe) +web_formats=(com de net org) # Applications archive_app='extr' @@ -26,6 +27,7 @@ document_app='kpdf' raw_app='vim' office_app='openoffice' emul_app='wine' +web_app='opera' # part 2: create the aliases for meta in $filetypes; do @@ -35,4 +37,4 @@ for meta in $filetypes; do unset ${meta}_{formats,app} done -unset filetypes meta +unset filetypes meta format |