use a single unicode dots char instead of three dots
This commit is contained in:
parent
bc8cbb7d36
commit
9df3232952
@ -433,13 +433,13 @@ __shorten_path()
|
|||||||
# than the last part of the path, plus
|
# than the last part of the path, plus
|
||||||
# '...'
|
# '...'
|
||||||
#
|
#
|
||||||
echo "...${p:((len-max_len+3))}"
|
echo "…${p:((len-max_len+3))}"
|
||||||
else
|
else
|
||||||
# constraints are satisfied, at least
|
# constraints are satisfied, at least
|
||||||
# some parts of the path, plus ..., are
|
# some parts of the path, plus ..., are
|
||||||
# shorter than the maximum allowed size
|
# shorter than the maximum allowed size
|
||||||
#
|
#
|
||||||
echo "...${p:pos[i]}"
|
echo "…${p:pos[i]}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "$p"
|
echo "$p"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user