Skip to content

Commit

Permalink
made version detection more robust in case tmux executable is renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
gpakosz authored and Farhad Karimi committed Aug 18, 2023
1 parent 54d10f7 commit b336578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
#
# _uname_s=$(uname -s)
#
# _tmux_version=$(tmux -V | tr -cd '[:digit:].' | awk -F '.' '{print $1 * 100 + $2}')
# _tmux_version=$(tmux -V | tr -cd '[:digit:].' | 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" ]
Expand Down

0 comments on commit b336578

Please sign in to comment.