aboutsummaryrefslogtreecommitdiff
path: root/bar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bar.sh')
-rwxr-xr-xbar.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bar.sh b/bar.sh
index 3595d6c..925615a 100755
--- a/bar.sh
+++ b/bar.sh
@@ -32,8 +32,8 @@ get_bar()
fi
done
# Uncomment to remove last separator
- bar="$(echo $bar | sed 's/.$//g')"
- echo "$LEFT_PADDING$bar$RIGHT_PADDING"
+ # bar="$(echo "$bar" | sed 's/.$//g')"
+ echo "$LEFT_PADDING${bar::-2}$RIGHT_PADDING"
}
run_module()