9be81015d0fcb7864be9cdfe550aeee20c52bf7a

Author
Chris Smith <csmith@bloomhealthco.com>
Committer
Chris Smith <csmith@bloomhealthco.com>
Date

Message

Adding quotes around $1

Diff

 1diff --git a/plugins/marked/marked.plugin.zsh b/plugins/marked/marked.plugin.zsh
 2index 8c014372ba8d38410790bdfd2ef948c077edc33b..56863ade57dd34a7fb3158d369e8b36860349ea5 100644
 3--- a/plugins/marked/marked.plugin.zsh
 4+++ b/plugins/marked/marked.plugin.zsh
 5@@ -3,9 +3,9 @@
 6 # If marked is passed a file, open it in Marked
 7 #
 8 function marked() {
 9-    if [ $1 ]
10+    if [ "$1" ]
11     then
12-        open -a "marked 2.app" $1
13+        open -a "marked 2.app" "$1"
14     else
15         open -a "marked 2.app"
16     fi