mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-01 04:32:05 -07:00
[fzf-tmux] Fix duplicate arguments to fzf
fzf-tmux -w -q q fzf-tmux -w -- -q q
This commit is contained in:
@@ -22,7 +22,8 @@ while [ $# -gt 0 ]; do
|
||||
if [[ "$1" =~ ^[0-9]+%?$ ]]; then
|
||||
size="$1"
|
||||
else
|
||||
[ -n "$1" ] && args+=("$1")
|
||||
[ -n "$1" -a "$1" != "--" ] && args+=("$1")
|
||||
shift
|
||||
continue
|
||||
fi
|
||||
fi
|
||||
|
Reference in New Issue
Block a user