zsh-users
 help / color / mirror / code / Atom feed
* Re: tab completion doesn't work if there's a double slash in path
       [not found] <CAM4j=kM1AAFf5-KVT-44VSERAVPpzcJka7pFvT_Ae724WKoK=g__21261.6231329323$1483233667$gmane$org@mail.gmail.com>
@ 2017-01-01  3:16 ` Daniel Shahaf
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Shahaf @ 2017-01-01  3:16 UTC (permalink / raw)
  To: Timothee Cour; +Cc: zsh-users

Timothee Cour wrote on Sat, Dec 31, 2016 at 17:19:56 -0800:
> ls /Users/foo/bar//fob1/fob[TAB] doesn't auto-complete because there is a
> double slash (//) somewhere in the path.
> This case often happens in my workflow. Could autocomplete work in presence
> of `//` ?

It's not a bug, it's a feature: with two consecutive slashes, it looks
for paths of the form /Users*/foo*/bar*/*/fob1*/fob*.

* danielsh greps zshcompsys(1)…

There's a 'squeeze-slashes' style you can set to disable that:

    zstyle :completion:\* squeeze-slashes true

Cheers,

Daniel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* tab completion doesn't work if there's a double slash in path
@ 2017-01-01  1:19 Timothee Cour
  0 siblings, 0 replies; 2+ messages in thread
From: Timothee Cour @ 2017-01-01  1:19 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

ls /Users/foo/bar//fob1/fob[TAB] doesn't auto-complete because there is a
double slash (//) somewhere in the path.
This case often happens in my workflow. Could autocomplete work in presence
of `//` ?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-01  3:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAM4j=kM1AAFf5-KVT-44VSERAVPpzcJka7pFvT_Ae724WKoK=g__21261.6231329323$1483233667$gmane$org@mail.gmail.com>
2017-01-01  3:16 ` tab completion doesn't work if there's a double slash in path Daniel Shahaf
2017-01-01  1:19 Timothee Cour

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).