[kwlug-disc] Bash Autocompletion (Nov 2022)
John Steel
john at jskw.ca
Sat Nov 19 21:32:38 EST 2022
Maybe it is possible for zsh autocomplete?
On Fri, Nov 18, 2022, at 4:38 AM, Ronald Barnes wrote:
> John Steel via kwlug-disc wrote on 2022-11-16 08:26:
>
> > The only examples I've found so far escape the space instead of adding
> > quotes. That's probably a good way to handle it. It seems that's what
> > git does for autocompleting `git add filename\ with\ spaces`
>
> That's what I came up with too.
>
>
> But, the idea of using quotes intrigued me, so I gave it a go.
>
>
> Doesn't seem possible? I can change words previous to the "current
> word", but they do not update on the input line once chosen.
>
>
> I suppose updating them in a different part of the script is the way,
> but it's beyond me so far.
>
>
> If anyone does encounter any examples of that in the wild, let me know,
> I'm interested in knowing how it's done.
>
>
>
> Thanks,
>
> rb
>
>
> _______________________________________________
> kwlug-disc mailing list
> To unsubscribe, send an email to kwlug-disc-leave at kwlug.org
> with the subject "unsubscribe", or email
> kwlug-disc-owner at kwlug.org to contact a human being.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20221119/686d32c0/attachment.htm>
More information about the kwlug-disc
mailing list