zsh-users
 help / color / mirror / code / Atom feed
* Weird expansion issue with (D)
@ 2022-08-05 16:36 Zach Riggle
  2022-08-05 16:54 ` Roman Perepelitsa
  0 siblings, 1 reply; 5+ messages in thread
From: Zach Riggle @ 2022-08-05 16:36 UTC (permalink / raw)
  To: Zsh Users

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

I think I might have discovered a bug in the (D) expansion of named
directories, and I'm not sure how to sort this out.

    $ echo "${(D)PWD}"
    ~CODE_AUDIT_HELPERS

    $ var=$PWD/install.zsh

    $ ls $var
    /Users/zachriggle/.zprezto/modules/code-audit-helpers/install.zsh

    $ echo "${(D)var}"
    ~var

Any ideas on what's happening here?  This is on zsh 5.8.1

*Zach Riggle*

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

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

end of thread, other threads:[~2022-08-11 22:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-05 16:36 Weird expansion issue with (D) Zach Riggle
2022-08-05 16:54 ` Roman Perepelitsa
2022-08-11 22:37   ` Zach Riggle
2022-08-11 22:38     ` Zach Riggle
2022-08-11 22:42       ` Roman Perepelitsa

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