From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19756 invoked from network); 15 Sep 2021 21:51:27 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Sep 2021 21:51:27 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1631742687; b=QGZmRw+JNRw3M6YAyAa0nvC2YlUihTVNe7SJBzkGWPj0fWQ4ToOHo5SRt7OdWyp5PSwqe8Brhu PITWZbhyvNUPH8ebaOXWtZ9LJ2xvnv8LIUPLA6ZEC5PRCl6A0pXLR+W+uRq5yv+8YfLsEtIRMD +ydvygVja6VpRPf7tNPb/2xe0sWym2VeAB7wXd1ZIIVEJ6ufJFixmwfYrXJUVECi+4Lx9AP0XF d/diK0eFLCi7Bf+g1yhYeZfOj6bsljHxoFi1HWvQvD2jMxgV4Mg4YPLCfzn2zTxijkqV6be4u3 e3ZFGECWgiQXwnXfMrAPcV8L1OSJXlHTEdkH/JtaSZs6vA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oi1-f171.google.com) smtp.remote-ip=209.85.167.171; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1631742687; bh=VltHmVSxhGZ0vU7Jx4BYjjXEmH10w9+/TLRoNj7rt8M=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:In-Reply-To:Cc:References:Message-ID:Date:Subject: MIME-Version:From:Content-Transfer-Encoding:Content-Type:DKIM-Signature: DKIM-Signature; b=HqPbNMTXBg9rOkHP5axYIEm9GPGb4ndvOgNuWl3bR9A3obHb9vGSLkfEgxcHwZyVavDtjRT4D2 QSYlzT5xcvudHUYFRjWTV1zm7fKlHFsNlG+pGQXcCGcp3mgzKfgxuWvRXp303HgmD4rJcfviTl vv40DCZn/ZiT5GVRRShK6D4PCc7gpCRouv6iXrAdyf5qPQaP8n9OTCasnCUqNfai/ktSTerRn+ slJj2OiTIGAq5bgXnoQI8kJgeSs3oKYjPM0jgbgBxXLLgxC41iJNIehcTmflFpuUwhLbcgwbq1 AV0TRi+/R6PjV7T0DaY8sWQXw7+vVdrNLAXomW4nrrKGXw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:To:In-Reply-To:Cc:References: Message-Id:Date:Subject:Mime-Version:From:Content-Transfer-Encoding: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=ZICU29566dJVDnVK6oZ5miDGXEXWcCycccYMcBnVKd0=; b=NOKBLOTaLZO58mgI1Ab/1QgnPf xXFQdvKx/J8f8QhATvniqDO0PzgJKo6iQ6KcGO7JK9jcOVJPW7ZJZSYCl2X5fDMrydd4dqkiVnRmS snBD2zvjNGbH8R3eewsFJBgzpGC/pL0fe9G5Qy1bSu9XhXTiXd7EaU0a4fzKY0WBex30fRlQxum7b SWU014pPneEyhqMWN20fBmoAx0J77njD4btdP4MkeAkHN3wlPBzqsjxlI7MQAxorHwljbsA0pdd7H u8PO+IYSMChWkej5/pRUO0UnidMhHwZOYyXsIASuPxmOt62VPIl3/iLMchZ1h03xYYw+znvNQ8IFs XGtE2UPA==; Received: from authenticated user by zero.zsh.org with local id 1mQcoQ-0001so-6C; Wed, 15 Sep 2021 21:51:26 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oi1-f171.google.com) smtp.remote-ip=209.85.167.171; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-oi1-f171.google.com ([209.85.167.171]:42809) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mQcnl-0001B4-91; Wed, 15 Sep 2021 21:50:46 +0000 Received: by mail-oi1-f171.google.com with SMTP id bi4so6154996oib.9 for ; Wed, 15 Sep 2021 14:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=ZICU29566dJVDnVK6oZ5miDGXEXWcCycccYMcBnVKd0=; b=ATIrGSsq2WJVo702vdvJzhyKn4z/d1nS1D34u6MEdJk7YPj05sDPFbcchKOlLycTke j4tV34U8TBccVQU/+tapMi949iHtpa4+5GYkMjl+VFIP0lSqXB2dYXJhBCkZhHe7FJOs GqhhuakqLM/vYjw9JNev+cnlrjy55QsEz0c5OVm2nHY9W5zNoBkPid9bY/3jWbyCphHE FBbwtVVCsSX6KttR9tYM8A6o/Z43AKs860q7rGOs4gaPNx6ufjAcuubuFThgTrSI1Dw6 TF8SI95tTDJgxL4fW4zZ3NIcuZlxSZW60oaoh9YDDAeoYa35csnMFmxTjn75IrxJAaBc 9RZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=ZICU29566dJVDnVK6oZ5miDGXEXWcCycccYMcBnVKd0=; b=5/8K5d1LOdyy/N20ZVJe4vqF+7ybUgWhUZUq0Lc8eNQX1nZ5TdTJdnWglAHQ/dcLTm 18J253m/49pN+0eZ8SEvhhVr4I3q7dOAwSGhV1ZwcDVGYiVIMcZ/32luRMemh7CnKg00 tpzNBv30lbB+cO+J5LD6QKKZw9Qbj3tHpH8bhY/zM4HMMG14E+YDXrVQS1JOjNkpVCYK PVUASd8K13CSaOb6vgd3OgpBsTN0Fl6A96m4iAi+JoSWCSOROj5x59lcm3EupcCq04Rj IviMsS69zzJpM93uoQoqfR2WbxbKj0E+6kChrfo5wq2/4ByYFvujCX9EGLCi5XfWE0MN 1dBw== X-Gm-Message-State: AOAM531IbO+lQMylDegesf+Ue6CisbgcRx5LQjDxhw26jNdzIYeLJgr9 wlVemvVEIvOJ5aKZEt5upBbpuBq/xRA= X-Google-Smtp-Source: ABdhPJz18ycYAXG07W/qyt1RCK5o01SJoZDjcujd10qd+zJR1qpXmYgXZSIMYbQmBTpT9NCdor4QpA== X-Received: by 2002:a05:6808:1892:: with SMTP id bi18mr6584299oib.105.1631742643817; Wed, 15 Sep 2021 14:50:43 -0700 (PDT) Received: from smtpclient.apple (2603-8081-7407-6012-7000-41e4-d6c4-66c2.res6.spectrum.com. [2603:8081:7407:6012:7000:41e4:d6c4:66c2]) by smtp.gmail.com with ESMTPSA id h19sm305313otr.75.2021.09.15.14.50.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Sep 2021 14:50:43 -0700 (PDT) Content-Type: multipart/alternative; boundary=Apple-Mail-7E18A490-B21C-4473-9B80-AA1B9413D671 Content-Transfer-Encoding: 7bit From: Bev In TX Mime-Version: 1.0 (1.0) Subject: Re: How do I get rid of _complete_alias error generated by bash code? Date: Wed, 15 Sep 2021 16:50:42 -0500 Message-Id: References: Cc: Steve Dondley , Zsh users In-Reply-To: To: Bart Schaefer X-Mailer: iPad Mail (18H17) X-Seq: 27123 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: --Apple-Mail-7E18A490-B21C-4473-9B80-AA1B9413D671 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable > On Sep 15, 2021, at 4:33 PM, Bart Schaefer wro= te: >=20 >> On Wed, Sep 15, 2021 at 1:48 PM Steve Dondley wrote: >>=20 >> I'm migrating my stuff from bash to zsh. I'm a stymied by an error that >> crops up from time to time and I'm not sure how to fix. >>=20 >> In bash, I had these lines: >>=20 >> # completion commands >> complete -F _complete_alias t >=20 > (and so on) >=20 > That means that at some other point in your bash startup, a function > named _complete_alias was defined, and you told bash to run that > function to complete the "t" (etc.) commands. >=20 > Removing these lines is probably the right thing, but otherwise you > need to port the _complete_alias definition into your zsh startup as > well. You must already be loading bashcompinit if there is no > complaint about the "complete" command not being found. Perhaps the OP is using: https://github.com/cykerway/complete-alias= --Apple-Mail-7E18A490-B21C-4473-9B80-AA1B9413D671 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
= On Sep 15, 2021, at 4:33 PM, Bart Schaefer <schaefer@brasslantern.com>= wrote:

On Wed, Se= p 15, 2021 at 1:48 PM Steve Dondley <s@dondley.com> wrote= :

I'm migrating my stuff from bash to zsh= . I'm a stymied by an error that
crops up from time to time and I'm not sure how to fix.

In bash, I had these lines:

# completion commands
complete -F _complete_alias t

(and so on)

That means that at= some other point in your bash startup, a function
named _co= mplete_alias was defined, and you told bash to run that
func= tion to complete the "t" (etc.) commands.

R= emoving these lines is probably the right thing, but otherwise youneed to port the _complete_alias definition into your zsh startup as<= /span>
well.  You must already be loading bashcompinit if ther= e is no
complaint about the "complete" command not being fou= nd.
Perhaps the OP is using:= --Apple-Mail-7E18A490-B21C-4473-9B80-AA1B9413D671--