[fzf-tmux] Fix duplicate arguments to fzf
fzf-tmux -w -q q fzf-tmux -w -- -q q
This commit is contained in:
parent
62a28468a7
commit
fb2959c514
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user