From 0b52ce05c1c4e232585ea1c081c5cca9554d3412 Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Tue, 30 Aug 2022 11:18:17 +0900 Subject: [PATCH] themes/pzq: Fix wrong usage of "echo -n" --- themes/pzq/pzq.theme.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/pzq/pzq.theme.sh b/themes/pzq/pzq.theme.sh index 0c94dce..4001b8f 100644 --- a/themes/pzq/pzq.theme.sh +++ b/themes/pzq/pzq.theme.sh @@ -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 }