zsh-users
 help / color / mirror / code / Atom feed
From: Steve Dondley <s@dondley.com>
To: Zsh users <zsh-users@zsh.org>
Subject: Re: Colon in alias appears to be breaking task compltion
Date: Sun, 05 Sep 2021 13:16:06 -0400	[thread overview]
Message-ID: <9089eaa8b480424c11b72043e85787b2@dondley.com> (raw)
In-Reply-To: <51f72df9dcf7b69a4fa965d5a011929d@dondley.com>

On 2021-09-05 12:02 PM, Steve Dondley wrote:
> My alias A for taskwarrior:
> alias taa='task +st +sn add'
> 
> My alias B for taskwarrior:
> alias tai="task +imm +st due:1h add"
> 
> Alias A works fine with tab completion. "taa proj<tab>" completes the
> word "project" as expected.
> 
> Alias B does not work: with "tai proj<tab>" there is no tab completion
> for the word "project".
> 
> I can get alias B to work if I remove the "due:1h" bit from the right
> hand side of Alias B. So it appears the colon is causing issues.
> 
> Workaround?

The problem is occurring even without using an alias.

This does not autocomplete:

task add due:1h project:To<tab>

It does, however, work just find in bash.


  reply	other threads:[~2021-09-05 17:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-05 16:02 Steve Dondley
2021-09-05 17:16 ` Steve Dondley [this message]
2021-09-05 17:27   ` Bart Schaefer
2021-09-05 17:43     ` Bart Schaefer
2021-09-05 17:59       ` Steve Dondley
2021-09-05 17:48     ` Bart Schaefer
2021-09-05 18:03     ` 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=9089eaa8b480424c11b72043e85787b2@dondley.com \
    --to=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).