From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21021 invoked by alias); 31 Oct 2016 23:14:12 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22056 Received: (qmail 8480 invoked from network); 31 Oct 2016 23:14:12 -0000 X-Qmail-Scanner-Diagnostics: from out2-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(66.111.4.26):SA:0(0.0/5.0):. Processed in 0.362448 secs); 31 Oct 2016 23:14:12 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= mesmtp; bh=anLeBdwyK2aVY/+m2Dtvrc+vp2U=; b=bW7K/T7BZj3fbk4C4hz97 tdDc3P6C9mSSz79O5EQEh7/NDvJE2KaGSN7pUySftz825n3iYwJ4pN1YZagR0zzH BQy1ILkcUlcSNeV6yePT+FW0xgmPgfO9aj9PFE/S/TsruFIldcTIn1i0ZBaYT28/ VYcw/dl5+vfw2qFdV0KKos= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=anLeBdwyK2aVY/+m2Dtvrc+vp2U=; b=Do5k6VBvvVKsa2wtmFR+ JyoAQO8hC+tcNZD2RjoDYtFVS98G/YZg0Fj2+EQZ7W5hRYdzO10VDn0NibqlROuA lrnKpdvu1Owa52Tx+JytT+62nyj1I78K1fJgAS72IXrlhxTfzOpAsd5mHt+FggWU Nr4M0Hody7DkxKj8/yif+KM= X-ME-Sender: X-Sasl-enc: I0U55Nf5yeqeI77pIdgi3BGw1pOkPNaUBWmVpH4I1aPq 1477955646 Date: Mon, 31 Oct 2016 23:12:12 +0000 From: Daniel Shahaf To: Fourhundred Thecat <400thecat@gmx.ch> Cc: zsh-users@zsh.org Subject: Re: completion for aliased commands does not work Message-ID: <20161031231212.GA7144@fujitsu.shahaf.local2> References: <5817C9F9.2010809__36345.4683371403$1477954133$gmane$org@gmx.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5817C9F9.2010809__36345.4683371403$1477954133$gmane$org@gmx.ch> User-Agent: Mutt/1.5.23 (2014-03-12) Fourhundred Thecat wrote on Mon, Oct 31, 2016 at 23:47:21 +0100: > alias diff='colordiff' > diff -- > /usr/bin/diff -- Completion "sees through" aliases. You'll find that with the above alias, «diff » and «colordiff » behave the same way. Therefore, define a completion for colordiff: compdef colordiff=diff