mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-22 19:09:00 +00:00
parent
20230402d0
commit
f1a9629652
@ -180,7 +180,7 @@ trap 'cleanup' EXIT
|
|||||||
envs="export TERM=$TERM "
|
envs="export TERM=$TERM "
|
||||||
if [[ "$opt" =~ "-E" ]]; then
|
if [[ "$opt" =~ "-E" ]]; then
|
||||||
tmux_version=$(tmux -V | sed 's/[^0-9.]//g')
|
tmux_version=$(tmux -V | sed 's/[^0-9.]//g')
|
||||||
if [[ $(bc -l <<< "$tmux_version > 3.2") = 1 ]]; then
|
if [[ $(bc -l <<< "$tmux_version > 3.2" 2> /dev/null || awk '{print ($1 > 3.2)}' <<< "$tmux_version") = 1 ]]; then
|
||||||
FZF_DEFAULT_OPTS="--border $FZF_DEFAULT_OPTS"
|
FZF_DEFAULT_OPTS="--border $FZF_DEFAULT_OPTS"
|
||||||
opt="-B $opt"
|
opt="-B $opt"
|
||||||
elif [[ $tmux_version = 3.2 ]]; then
|
elif [[ $tmux_version = 3.2 ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user