use a single unicode dots char instead of three dots

This commit is contained in:
nojhan 2012-07-26 09:18:01 +02:00
parent bc8cbb7d36
commit 9df3232952

View File

@ -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"