zsh-workers
 help / color / mirror / code / Atom feed
* Cygwin/MSYS2: Trouble converting relative paths from / using :a or :A
@ 2021-11-12 19:19 agkozak
  2021-11-15  8:44 ` Jun T
  0 siblings, 1 reply; 5+ messages in thread
From: agkozak @ 2021-11-12 19:19 UTC (permalink / raw)
  To: zsh-workers

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

In Cygwin or MSYS2, if I execute

 

    cd /

    foo=bin

    echo ${foo:a}

    echo ${foo:A}

    echo ${foo:P}

 

for the :a modifier I get

 

    //bin

 

for the :A modifier I get a long pause, followed by

 

    //bin

 

(Is it trying to access a network share?) But for the :P modifier I get the
expected

 

    /bin

 

The //bin paths are unusable ("No such file or directory").

 

Alex


[-- Attachment #2: Type: text/html, Size: 2696 bytes --]

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

end of thread, other threads:[~2021-12-05 14:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-12 19:19 Cygwin/MSYS2: Trouble converting relative paths from / using :a or :A agkozak
2021-11-15  8:44 ` Jun T
2021-11-17  9:39   ` Jun T
2021-12-01  4:58     ` Daniel Shahaf
2021-12-05 14:10       ` Jun. T

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