zsh-workers
 help / color / mirror / code / Atom feed
* :P test failure
@ 2020-03-26 21:27 Peter Stephenson
  2020-03-26 22:21 ` Daniel Shahaf
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 2020-03-26 21:27 UTC (permalink / raw)
  To: Zsh hackers list

This doesn't work on my machine:

 # This is a bit brittle as it depends on PATH_MAX.
 # We could use sysconf..
 bad_pwd="/${(l:16000:: :):-}"
 print ${bad_pwd:P} | wc -c
0:modifier ':P' with path too long
>16002

The modification fails with error and output

zsh: path expansion failed, using root directory
2

pws


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

end of thread, other threads:[~2020-03-28 16:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 21:27 :P test failure Peter Stephenson
2020-03-26 22:21 ` Daniel Shahaf
2020-03-28 16:16   ` Peter Stephenson

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