mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-25 20:11:12 +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