Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
how to make zsh tab-complete path after colon (instead of just `=`)
- X-seq: zsh-users 23827
- From: Timothee Cour <timothee.cour2@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: how to make zsh tab-complete path after colon (instead of just `=`)
- Date: Tue, 8 Jan 2019 01:49:46 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=YTdyvw6qDUaV4LI4GakfnprySCpl0J/1LdjpkyAOE+A=; b=YrX7lIoISoCm53XR92F010s2fdCUtBwm3F9rauCc7M8zbKF1KnjE2x7kGe1O6cOyT2 Pv2mBGAsJhQHXQ41VBaX973WBVXDhz9dUj9blO7wjEJfRRHJ3L+jNf4fjofMBtDE31dh jx/K8EhI7rUwRGwfLX+n+4VHtmsnFADmy7ZkmWs4NJM15+Wu/ev+wDBfOmCU1gEeo6ka 5a0ZCwe1N3BWTaMdpQk67wYV/5P/Zm68oKVUXVqMQO2lgScti99sAh0Egq+mnQboq3z2 3fKtDnFder00xGSgaM2QA6R8YflPMK9nmk5yWoFnvcaQeWKZIPewPc18Q88tET1uPknl LQ0w==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author