fixed BusyBox's tr command compatibility, fixes #441

This commit is contained in:
Frederick Zhang
2021-01-10 09:53:23 +01:00
committed by Gregory Pakosz
parent d950ee3c8c
commit 41af713ff7
+1 -1
View File
@@ -189,7 +189,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
#
# _uname_s=$(uname -s)
#
# _tmux_version=$(tmux -V | tr -cd '[:digit:].' | cut -d' ' -f2 | awk -F '.' '{print $1 * 100 + $2}')
# _tmux_version=$(tmux -V | tr -cd '0123456789.' | cut -d' ' -f2 | awk -F '.' '{print $1 * 100 + $2}')
#
# _is_enabled() {
# [ x"$1" = x"true" ] || [ x"$1" = x"yes" ] || [ x"$1" = x"enabled" ] || [ x"$1" = x"1" ]