made version detection more robust in case tmux executable is renamed (3), fixes #462
fixed a regression introduced by commit 8aefa1e798
that breaks
version detection for tmux HEAD for which 'tmux -V' prints e.g. tmux next-3.3
This commit is contained in:
parent
8aefa1e798
commit
3bfec1a25a
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
||||||
#
|
#
|
||||||
# _uname_s=$(uname -s)
|
# _uname_s=$(uname -s)
|
||||||
#
|
#
|
||||||
# _tmux_version=$(tmux -V | awk '{print ($2+0) * 100}')
|
# _tmux_version=$(tmux -V | awk '{gsub(/[^0-9.]/, "", $2); print ($2+0) * 100}')
|
||||||
#
|
#
|
||||||
# _is_enabled() {
|
# _is_enabled() {
|
||||||
# [ x"$1" = x"true" ] || [ x"$1" = x"yes" ] || [ x"$1" = x"enabled" ] || [ x"$1" = x"1" ]
|
# [ x"$1" = x"true" ] || [ x"$1" = x"yes" ] || [ x"$1" = x"enabled" ] || [ x"$1" = x"1" ]
|
||||||
|
|
Loading…
Reference in a new issue