zsh-users
 help / color / mirror / code / Atom feed
From: Timothee Cour <timothee.cour2@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: how to make zsh tab-complete path after colon (instead of just `=`)
Date: Tue, 8 Jan 2019 01:49:46 -0800	[thread overview]
Message-ID: <CANri+EwBAn0zjbQ6rbRjixXVRqqv3fE2Y3VMSvDhAy+t35zBPg@mail.gmail.com> (raw)

I have the same question as many others, see
https://stackoverflow.com/questions/40194030/make-zsh-tab-complete-path-after-colon
and https://unix.stackexchange.com/questions/445889/use-colon-as-filename-separator-in-zsh-tab-completion


is it possible make zsh complete filenames after a colon (instead of
just after `=`) ?
t foo=/tm<TAB> autocomples with /tmp
t foo:/tm<TAB> doesn't do any autocomplete

(IIRC  in bash COMP_WORDBREAKS can be used for that)
I don't want to specify this rule for every single command, I want it
to apply to all commands by default

             reply	other threads:[~2019-01-08  9:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20190108095220epcas2p1220c2b5ad3e9401282d243bcfea7ada1@epcas2p1.samsung.com>
2019-01-08  9:49 ` Timothee Cour [this message]
2019-01-08 11:21   ` Peter Stephenson
2019-01-08 12:37     ` Peter Stephenson
2019-01-08 15:32       ` Daniel Shahaf

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=CANri+EwBAn0zjbQ6rbRjixXVRqqv3fE2Y3VMSvDhAy+t35zBPg@mail.gmail.com \
    --to=timothee.cour2@gmail.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).