chiark / gitweb /
dot/zshrc: Fix path ellipsization in the prompt.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 23 May 2018 13:42:22 +0000 (14:42 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 23 May 2018 13:42:22 +0000 (14:42 +0100)
commit3fa9aa2502686aa90b4d55a1a980eca00f4cc5c1
treee79a9e7dfda7eabfe291f3d8936bc5bc4bb7d3e3
parentf0bf9506c1f1e6d1f4d79124ce9566481f26daa6
dot/zshrc: Fix path ellipsization in the prompt.

At exactly six directories down, the ellipsization kicked in and
inserted a pointless `/.../' ellipsis which didn't actually replace a
segment of the real path.  Fix this by leaving one fewer step on
the right when ellipsizing.

Also, `ellipsize' is a horrid word.
dot/zshrc