From e6f214b64a6e66b219d73f7de74d4f1dc791ed28 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 30 Sep 2013 23:35:52 +0200 Subject: missed to remove on dollar sign MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- gotrc-examples/lower-left-ponysay | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gotrc-examples/lower-left-ponysay') diff --git a/gotrc-examples/lower-left-ponysay b/gotrc-examples/lower-left-ponysay index 686535a..4353826 100644 --- a/gotrc-examples/lower-left-ponysay +++ b/gotrc-examples/lower-left-ponysay @@ -13,7 +13,7 @@ function _display pony="$(PONYSAY_SHELL_LINES=5 PONYSAY_KMS_PALETTE="${PALETTE}" ponysay -o <&2)" lines=$(echo "${pony}" | wc -l) height=$(stty size | cut -d ' ' -f 1) - echo -en $'\e['"$(( $height - $lines + 1 ));1H" + echo -en '\e['"$(( $height - $lines + 1 ));1H" echo -n "$(echo "${pony}" | sed -e 's:\x1b\[H\x1b\[2J::')${PALETTE}" echo -e "\e[H\e[${ANSI_COLOR}m${NAME} (${tty})\e[00m" echo -- cgit v1.2.3-70-g09d2