mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-03 13:42:11 -07:00
Fix fzf-tmux script (bash 3.2 compatibility)
This commit is contained in:
@@ -15,7 +15,7 @@ while [ $# -gt 0 ]; do
|
|||||||
size="$1"
|
size="$1"
|
||||||
fi
|
fi
|
||||||
[[ "$arg" =~ ^-w ]] && opt="-h"
|
[[ "$arg" =~ ^-w ]] && opt="-h"
|
||||||
[[ "$size" =~ %$ ]] && opt="$opt -p ${size:0:-1}" ||
|
[[ "$size" =~ %$ ]] && opt="$opt -p ${size:0:((${#size}-1))}" ||
|
||||||
opt="$opt -l $size"
|
opt="$opt -l $size"
|
||||||
;;
|
;;
|
||||||
--)
|
--)
|
||||||
|
Reference in New Issue
Block a user