zsh-users
 help / color / mirror / code / Atom feed
From: Dieter Faulbaum <Dieter.Faulbaum@helmholtz-berlin.de>
To: zsh-users@zsh.org
Subject: Re: suffix alias problem
Date: Mon, 14 Nov 2011 14:09:37 +0100	[thread overview]
Message-ID: <riezkfyonou.fsf@alder.acc.bessy.de> (raw)


It ought but doesn't.-)

If I put

zstyle ':mime:.pdf:' handler 'evince %s'
zstyle ':mime:.pdf.gz:' handler 'evince %s'

into my .zshrc (and "source" it) I get:
zsh: permission denied: the-pdf-file

If I use this line

alias -s gz=zsh-mime-handler

I get 

(eval):1: parse error near `&'

in my debian squeeze system with zsh version 4.3.10

--
Dieter Faulbaum


             reply	other threads:[~2011-11-14 13:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-14 13:09 Dieter Faulbaum [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-10 16:36 Dieter Faulbaum
2011-11-11 18:39 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=riezkfyonou.fsf@alder.acc.bessy.de \
    --to=dieter.faulbaum@helmholtz-berlin.de \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).