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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16687 invoked from network); 15 Sep 2021 21:21:38 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Sep 2021 21:21:38 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1631740898; b=lI/G4piKPCPlHgGYb4YsQzI6rTKUpAfHwgYRyWi0KLxWJiJAS3xsFDGiqTPprpmz2oKGT9ck/L oYEuHjRcaMGqfPkuowP9PD5CwRhP58JT2fz/898M1C2phQUIobOwa5SmlTRbK+bb1DG6Lg24VE 5NpXadkaRDZyaPR76+u3HC0wTjwlmyRA8UbbqP8ANOQ0C/Nsb1Z42Ui+tSKfFYL3TUooeA9Lo6 Gcgp+LD8XNmoA7PxOJMFpO40CMMkntpu7k3c+H29g9KR3NJTjniZftUJRGRoZbY9QambInLYd+ InUJj6P54ct3InkUtbCReFsXml6wIBWyVOf9kaZKbooFJQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yb1-f178.google.com) smtp.remote-ip=209.85.219.178; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1631740898; bh=8JkaS6ePDZM+uzmcjnYoB3H2Zu/DJdoUHPZ37LDFkO4=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=GMiXufd4Q6TtGa5Pmu3WasnAYkuIr87WWE7tbl83W0zDZmf6tSFd6xGN01FlblltiS5/rdXlTa 46h7dnycjORMIriRk0/aaOeL/cIdtRmCeW+H95QAQA/AJarAH8wtKa28+pHL5FuvsxlnKym5d6 yqf2o5ezLp/tk7mbOGTWyI14lsaGvwqgFF1m9R49lgek6eqZFbG6mMjz3JuKLSNHpz8YwURBki AbZH4RZtY18mPdoRStqFQDdUywJb/VGu1s80OCDYgHtPTlucKqoAPI2WDmO/GQlJ5xw58G7864 LAOnKrHV5N7oExyqNA3P7Z2LGbK2peP1zUhXi/gdUAbWpA==; 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:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=h9piujK+PQ34e6oPksKJKrbzKYFdAAZjho8FMD9VHQI=; b=mxJj6aIkGsIi1LkWcMgXkxcfxV XrQTuBWOi0RXsSCb5GehafTUV/WhB1Mph3V190+hZNy4CR0NTx8Lt0zi51F83q5G0pZMcba3WUJWC ECWNqhbuIOh76x7hIeSMfWDaH1NLxQN3xhzMrNN4ueiW/Xce+7DEjaEVso6mUYDMcNlo+5v7rHZ0h auN7WaMDH2fOffh4TO9fcYCSS57j06zrOhyL8xc6Vno/eiwZ0PcxZVX54Xi23AOF/0WaV6rONNMyE qZjvOrF3OuUcChl75Xj+ZlqYedEoTrrk1fVEXDDMiYvlWLuuIwU7FqsHhWD7mux26mfz3eN6ffxRQ pERMj3iQ==; Received: from authenticated user by zero.zsh.org with local id 1mQcLa-000PYh-GZ; Wed, 15 Sep 2021 21:21:38 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yb1-f178.google.com) smtp.remote-ip=209.85.219.178; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-yb1-f178.google.com ([209.85.219.178]:39640) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mQcL0-000Os2-6j; Wed, 15 Sep 2021 21:21:03 +0000 Received: by mail-yb1-f178.google.com with SMTP id y13so8612572ybi.6 for ; Wed, 15 Sep 2021 14:21:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h9piujK+PQ34e6oPksKJKrbzKYFdAAZjho8FMD9VHQI=; b=Gw5rUssh/OX+13P/TGQ/IRVBti9zodHmf+e8A5f3hJlsNgenjqTk6Y6se6IBD45+gK yEAb3jJjRbEpBDDv3Vj3zX3w+eX4ssjQ1PsfjF+0BXIg6XUSsOfrhvDABq4SSymDSKHw oWLR17gZtrLnRRoq7fFeTLDgUYqzxRHEA3t9fI9qz08PdRAAljrbfxAj8I2xZdkVCbdc hPa9blfflWVlumG/nR4wkf8VNxN2Wd6lJ8AC06to+BY4X819Alx78FTPv0UzW5PYusrJ gtpR9QAi0YNOGCbRKLw6YWG1KHBPtYHZ3DZ7CjkuHi+aZkdTn6mzlTeLKD3cQnKNYipe 0wjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h9piujK+PQ34e6oPksKJKrbzKYFdAAZjho8FMD9VHQI=; b=CQPKVWjYVzbdvkow/mLUFVxwXiRLpaDGC4UdIsMM2QwQ0Re7rbVjisEnXdkpjBuJDH HaJ44KOMO+ad/YlgHDk3FJ6mrKf3jtlwBlzFc17vSQB4mAuZ/EXK6aKZdJ8WIYtrw9iK 4JgYqCU7Hg4HFcKzI2Y07N9tZq/lVx9pgBDqW7owLYi8s80DfhyfihNpbG0YStR3vckl BtyE0FlKvzekEKhr+H7fIaQllL/v/WgXijmLSX2GT7sRVXJ1KvEvIWm51wIL1FCReYz6 z827JNu6r75IRj+JAiTKRnstdmdGTN4FBMk5S0pGAKk+mVY8FvYQtY0jWs1ury9R6KrY JlpQ== X-Gm-Message-State: AOAM532/EVlQ/KAclacge3rgNq7Douwfxg2en4a0OGeFz8rBi/7ESFu3 n57m9+oUGwrmB0+0zJ9Wok4ZJPmOh9hKFQ1zMckotkhnYPQSDw== X-Google-Smtp-Source: ABdhPJxexLtWRcwToFUH/rF1hwnl8Zvq6SLBGHqhTA2RB5LHrD64QVycQWonnngHb22DBETyowq4axejZD7TMZlMDmI= X-Received: by 2002:a25:bb93:: with SMTP id y19mr2685852ybg.266.1631740861098; Wed, 15 Sep 2021 14:21:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Wed, 15 Sep 2021 14:20:50 -0700 Message-ID: Subject: Re: How do I get rid of _complete_alias error generated by bash code? To: Steve Dondley Cc: Zsh users Content-Type: text/plain; charset="UTF-8" X-Seq: 27122 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: On Wed, Sep 15, 2021 at 1:48 PM Steve Dondley 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.