From eabfb553a8747a5e7603587d58ff3de9e5cb0a62 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Sun, 6 Dec 2015 14:56:31 +0100 Subject: [PATCH] do not rely on ${parameter:offset:length} substring expansion not supported by dash --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 7751e20..f3cebfa 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -434,7 +434,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s apply_configuration' # # if [ x"$battery_status" = x"1" ] || [ x"$battery_status" = x"true" ] || [ x"$battery_status" = x"enabled" ] ; then # if [ x"$discharging" = x"true" ]; then -# [ x"${uname_s:0:6}" != x"CYGWIN" ] && printf "%s " 🔋 +# echo "$uname_s" | grep -q -v "CYGWIN" && printf "%s " 🔋 # else # printf "%s " ⚡ # fi