mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-29 00:06:29 +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
|
trap cleanup EXIT SIGINT SIGTERM
|
||||||
|
|
||||||
# Build arguments to fzf
|
# Build arguments to fzf
|
||||||
touch $argsf
|
str=""
|
||||||
if [ ${#args[@]} -gt 0 ]; then
|
for arg in "${args[@]}"; do
|
||||||
str=""
|
str="$str \"${arg//\"/\\\"}\""
|
||||||
for arg in "${args[@]}"; do
|
done
|
||||||
str="$str \"${arg//\"/\\\"}\""
|
cat <<< "$str" > $argsf
|
||||||
done
|
|
||||||
cat <<< "$str" > $argsf
|
|
||||||
fi
|
|
||||||
|
|
||||||
fail() {
|
fail() {
|
||||||
>&2 echo "$1"
|
>&2 echo "$1"
|
||||||
|
Loading…
Reference in New Issue
Block a user