Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion for aliased commands does not work
- X-seq: zsh-users 22065
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: completion for aliased commands does not work
- Date: Tue, 1 Nov 2016 11:53:55 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=WQmz0tATETTfrStHhJ8Nfo2Y0qrSBOjhu58ZWdxPiFk=; b=IzKVDdKCKJByKKzl7G7q1diLBHx5ihRDPLTDV45BiAYQS5BAheS/xHDeYAD4m5jWYR zNY/webAPzoe08FDM/llicAyTwO6q4mKQvvooreI1i08X7wsaIi5zEmGP1OluymI9Rt8 4tIdqMAFn3YhEhmQ0Ezx3mf1iHUUx3Qc8QTtBEgI9GPV/66a85WZmwKXWqTGxqATyiRA jv7fYZdL7mMLlmx5iysc11dB/QqkgcxmPCuborbZFcwD99MAiZWMIs6YCLiptFy1Uzh7 GGh3xbhvnY6oePXIiWO7Ev40u1zgUpZfQoViVz9oQw0wROevX9WPSnhmj1vZ3TXCqTGs khEA==
- In-reply-to: <CAHYJk3ScU7RMao=8-Y7bD_pfsoQOygMCaxqJ63v-rB6hqs9xtQ@mail.gmail.com>
- 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: <5817C9F9.2010809__36345.4683371403$1477954133$gmane$org@gmx.ch> <20161031231212.GA7144@fujitsu.shahaf.local2> <161031163337.ZM21662@torch.brasslantern.com> <CAHYJk3ScU7RMao=8-Y7bD_pfsoQOygMCaxqJ63v-rB6hqs9xtQ@mail.gmail.com>
On Nov 1, 6:29am, Mikael Magnusson wrote:
}
} That's actually not true, setting complete_aliases makes completion
} treat aliases as separate commands. :)
Er, I think I we're interpreting "see through" differently. Obviously
given
alias diff='colordiff'
then either
setopt complete_aliases
or
compdef colordiff=diff
will cause options for "diff" to be completed, instead of looking for
a completion for "colordiff". On reflection I don't know why I took
Daniel's statement --
> } You'll find ... "diff <TAB>" and "colordiff <TAB>" behave the same
-- to mean that both should *work*. The other interpretation of "see
through" makes more sense.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author