mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
themes/pzq: Fix wrong usage of "echo -n"
This commit is contained in:
@ -97,9 +97,9 @@ limited_pwd() {
|
||||
if ((offset > 0)); then
|
||||
local truncated_symbol='...'
|
||||
local TRUNCATED_PWD=${RELATIVE_PWD:offset:MAX_PWD_LENGTH}
|
||||
echo -e "${truncated_symbol}/${TRUNCATED_PWD#*/}"
|
||||
echo -n "${truncated_symbol}/${TRUNCATED_PWD#*/}"
|
||||
else
|
||||
echo -e "${RELATIVE_PWD}"
|
||||
echo -n "${RELATIVE_PWD}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user