zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Steve Dondley <s@dondley.com>
Cc: Zsh users <zsh-users@zsh.org>
Subject: Re: How do I get rid of _complete_alias error generated by bash code?
Date: Wed, 15 Sep 2021 14:20:50 -0700	[thread overview]
Message-ID: <CAH+w=7b_T9rrmDgwq60mX_Xn6CsVANdOm8Yv3aTCp0bN2mzmZA@mail.gmail.com> (raw)
In-Reply-To: <cb62848e26d7cbbdf9e65df7bde31cc2@dondley.com>

On Wed, Sep 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 _complete_alias was defined, and you told bash to run that
function to complete the "t" (etc.) commands.

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.


  parent reply	other threads:[~2021-09-15 21:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-15 20:48 Steve Dondley
2021-09-15 20:54 ` Steve Dondley
2021-09-15 20:55 ` Roman Perepelitsa
2021-09-15 22:37   ` Steve Dondley
2021-09-15 21:20 ` Bart Schaefer [this message]
2021-09-15 21:50   ` Bev In TX
2021-09-15 22:29     ` Steve Dondley

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='CAH+w=7b_T9rrmDgwq60mX_Xn6CsVANdOm8Yv3aTCp0bN2mzmZA@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=s@dondley.com \
    --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).