summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAlex Leferry 2 <alexherbo2@gmail.com>2017-12-26 00:36:25 +0100
committerAlex Leferry 2 <alexherbo2@gmail.com>2017-12-26 00:36:25 +0100
commit7ea6aeed401e5bbd8538494f4afb270e04888d51 (patch)
treee470e089c87f18ceb3846dd1d3fae8bf90ee5fa1 /bin
parent919f9ebfaf9999aa4172c2cd685d71d596ac9890 (diff)
Fixes quoting
Diffstat (limited to 'bin')
-rwxr-xr-xbin/kak-connect2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/kak-connect b/bin/kak-connect
index 92d0475..1eb3997 100755
--- a/bin/kak-connect
+++ b/bin/kak-connect
@@ -12,7 +12,7 @@ if [ $KAK_SESSION ] && [ $KAK_CLIENT ]; then
shift
fi
fi
- for file in $@; do
+ for file in "$@"; do
command="edit $(realpath $file); $command"
done
echo "eval -client $KAK_CLIENT '$command'" | kak -p $KAK_SESSION