Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Customizing completion, omit urls
- X-seq: zsh-users 16374
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Daniel <quite@xxxxxxxx>
- Subject: Re: Customizing completion, omit urls
- Date: Fri, 16 Sep 2011 16:06:45 +0200
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9RsukJqyQrH/kA/GOZszoGEJqyW642sRYS6Iw36AXFA=; b=GiV6DK8tqNlBao10GHnQbG2tZ94a6oKKDr6VuDpKncaVCMtdZMAia59epBZQ9SsVMq kp9bnCxYlI0sEFZXcsPEEz88n4dgZ03Jx66LfN5uoaPxloKX4ZVSQEw4YLRxKFyJPe7x AW6pjMuLsXhrHBqEkNv4+t8nI7PbmOTkinRww=
- In-reply-to: <loom.20110916T145550-223@post.gmane.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <loom.20110916T145550-223@post.gmane.org>
On 16 September 2011 15:01, Daniel <quite@xxxxxxxx> wrote:
> Newbie to zsh here,
>
> Is it possible to make the mplayer completion omit urls? I don't want
> those emtpy cdda://, file: etc. I am looking at the source, but cannot
> really discern wether I can use zstyle to modify tags/requested
> urls/files in some way.
zstyle ':completion:*:mplayer:argument*' tag-order '! urls'
This will still offer the protocols when you're completing in an empty
directory, if you don't want that, you can do this instead:
zstyle ':completion:*:mplayer:argument*' tag-order - '! urls'
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author