浏览代码

Fix tmux version check

master
Arun Prakash Jana 4 年前
父节点
当前提交
56eea7e195
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      plugins/preview-tui

+ 1
- 1
plugins/preview-tui 查看文件

@@ -106,7 +106,7 @@ if [ "$PREVIEW_MODE" ] ; then
exit 0
fi

if [ -e "${TMUX%%,*}" ] && [ "$(tmux -V | cut -c6)" -eq 3 ] ; then
if [ -e "${TMUX%%,*}" ] && tmux -V | grep -q '[ -][3456789]\.' ; then
if [ -z "$SPLIT" ] && [ $(($(tput lines) * 2)) -gt "$(tput cols)" ] ; then
SPLIT='v'
elif [ "$SPLIT" != 'v' ] ; then


正在加载...
取消
保存