From: Rudi C <email@example.com>
Subject: Is it possible to disable abbreviation of named directories?
Date: Thu, 15 Apr 2021 22:53:13 +0430 [thread overview]
Message-ID: <CAE9z9A28MSW-THrOvi+rnYBw7h84UObBXC7-dfXygvpjumzUdg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 723 bytes --]
Per 14.7.2 Static named directories at
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
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 --]
next reply other threads:[~2021-04-15 18:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-15 18:23 Rudi C [this message]
2021-04-15 20:37 ` Daniel Shahaf
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
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).