rnd@beehaw.orgtoProgramming@beehaw.org•Just realized I can just use "..." to go back two directories! Is this a zsh feature?
18·
1 year agoNot really. .
and ..
are the only standard directory entries that are added by the system.
Some shells may extrapolate from that by adding to go two directories up, but
can just as well be the name of an actual file or directory.
I guess this is an interesting contrast to Windows, where not only certain characters (like ? or * or |) are banned, but also entire filenames that used to refer to device files in DOS (con, prn, lpt1, etc.)