fi
local _short_curdir
_short_curdir="${PWD##*/}" # cut all directories, get base name
- if [ "${#_short_curdir}" -gt 15 ]; then
+ if [ "${#_short_curdir}" -gt 18 ]; then
_short_curdir="${_short_curdir::15}..." # cut long string
fi
echo "${_short_curdir}"