mirror of
https://github.com/junegunn/fzf
synced 2024-11-18 09:28:40 +00:00
Fix fzf-tmux script (bash 3.2 compatibility)
This commit is contained in:
parent
6728870071
commit
5f62d224b0
@ -15,7 +15,7 @@ while [ $# -gt 0 ]; do
|
||||
size="$1"
|
||||
fi
|
||||
[[ "$arg" =~ ^-w ]] && opt="-h"
|
||||
[[ "$size" =~ %$ ]] && opt="$opt -p ${size:0:-1}" ||
|
||||
[[ "$size" =~ %$ ]] && opt="$opt -p ${size:0:((${#size}-1))}" ||
|
||||
opt="$opt -l $size"
|
||||
;;
|
||||
--)
|
||||
|
Loading…
Reference in New Issue
Block a user