zsh-users
 help / color / mirror / code / Atom feed
* Is it possible to disable abbreviation of named directories?
@ 2021-04-15 18:23 Rudi C
  2021-04-15 20:37 ` Daniel Shahaf
  0 siblings, 1 reply; 2+ messages in thread
From: Rudi C @ 2021-04-15 18:23 UTC (permalink / raw)
  To: zsh-users

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

Per  14.7.2 Static named directories at
http://zsh.sourceforge.net/Doc/Release/Expansion.html:

When the shell prints a path (e.g. when expanding %~ in prompts or when
printing the directory stack), the path is checked to see if it has a named
directory as its prefix. If so, then the prefix portion is replaced with a ‘
~’ followed by the name of the directory. The shorter of the two ways of
referring to the directory is used, i.e. either the directory name or the
full path.


Is there a way to disable this? I like to see full paths when the shell
prints things. I want the named dirs because they are easier to type, not
because they are easier to read.

PS: I do want ~ (HOME) to be abbreviated.

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

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

end of thread, other threads:[~2021-04-15 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 18:23 Is it possible to disable abbreviation of named directories? Rudi C
2021-04-15 20:37 ` Daniel Shahaf

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