Remove unneeded local keyword

This commit is contained in:
polyphemus 2013-12-01 15:02:52 +01:00 committed by Olivier Mengué
parent 8c69a27543
commit 5b52a1d4d0

View File

@ -542,7 +542,7 @@ _lp_shorten_path()
ret="${p}"
elif [[ ${LP_PATH_KEEP} == 0 ]]; then
# len is over max len, show as much of the tail as is allowed
local ret="${p##*/}" # show at least complete current directory
ret="${p##*/}" # show at least complete current directory
p="${p:0:${#p} - ${#ret}}"
ret="${mask}${p:${#p} - (${max_len} - ${#ret} - ${#mask})}${ret}"
else