mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-25 20:11:12 +00:00
[fzf-tmux] Minor adjustment
This commit is contained in:
parent
d2f95d69fb
commit
d091a2c4bb
13
bin/fzf-tmux
13
bin/fzf-tmux
@ -101,14 +101,11 @@ cleanup() {
|
||||
trap cleanup EXIT SIGINT SIGTERM
|
||||
|
||||
# Build arguments to fzf
|
||||
touch $argsf
|
||||
if [ ${#args[@]} -gt 0 ]; then
|
||||
str=""
|
||||
for arg in "${args[@]}"; do
|
||||
str="$str \"${arg//\"/\\\"}\""
|
||||
done
|
||||
cat <<< "$str" > $argsf
|
||||
fi
|
||||
str=""
|
||||
for arg in "${args[@]}"; do
|
||||
str="$str \"${arg//\"/\\\"}\""
|
||||
done
|
||||
cat <<< "$str" > $argsf
|
||||
|
||||
fail() {
|
||||
>&2 echo "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user