1
0
Fork 0
mirror of synced 2024-12-13 02:45:46 -05:00

do not rely on ${parameter:offset:length} substring expansion not supported by dash

This commit is contained in:
Gregory Pakosz 2015-12-06 14:56:31 +01:00
parent 01b9b433f9
commit eabfb553a8

View file

@ -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"$battery_status" = x"1" ] || [ x"$battery_status" = x"true" ] || [ x"$battery_status" = x"enabled" ] ; then
# if [ x"$discharging" = x"true" ]; 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 # else
# printf "%s " ⚡ # printf "%s " ⚡
# fi # fi