On 2021-09-15 05:50 PM, Bev In TX wrote:
On Sep 15, 2021, at 4:33 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
On Wed, Sep 15, 2021 at 1:48 PM Steve Dondley <s@xxxxxxxxxxx> 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 functionnamed _complete_alias was defined, and you told bash to run thatfunction to complete the "t" (etc.) commands.Removing these lines is probably the right thing, but otherwise youneed to port the _complete_alias definition into your zsh startup aswell. You must already be loading bashcompinit if there is nocomplaint about the "complete" command not being found.
Perhaps the OP is using:
This looks very vaguely familiar. I think you are right and I did use this. Thanks for googling that for me. :)
I've had a little too much wine with dinner to go back and figure out what I did 2 hours ago, never mind 2 years ago. I will review this tomorrow. Thanks!
|