From 2810d481aa44cbfcd06753907247e94eb3ff784f Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Sun, 12 Aug 2012 10:52:03 +0200 Subject: [PATCH] Fix typo and remove trailing space --- liquidprompt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/liquidprompt b/liquidprompt index 96318d2..4875d53 100755 --- a/liquidprompt +++ b/liquidprompt @@ -421,7 +421,7 @@ __shorten_path() # colored in red if it have not. __permissions_color() { - if [[ -w "${PWD}" ]]; then + if [[ -w "${PWD}" ]]; then echo "${GREEN}:${NO_COL}" else echo "${RED}:${NO_COL}" @@ -663,6 +663,7 @@ __battery_color() elif [[ "$WORKING_SHELL" == "zsh" ]]; then echo -ne "${ret}${bat}%%${NO_COL}" fi + fi }