1
0
Fork 0
mirror of synced 2024-12-21 22:31:06 -05:00

fixed BusyBox's tr command compatibility, fixes #441

This commit is contained in:
Frederick Zhang 2021-01-10 19:34:57 +11:00 committed by Gregory Pakosz
parent d950ee3c8c
commit 41af713ff7

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" ]