diff options
author | Chris Smith <csmith@bloomhealthco.com> | 2014-08-27 08:31:18 -0500 |
---|---|---|
committer | Chris Smith <csmith@bloomhealthco.com> | 2014-08-27 08:31:18 -0500 |
commit | 9be81015d0fcb7864be9cdfe550aeee20c52bf7a (patch) | |
tree | 5d618647bbf47b9baa3770710b070346b8820d65 /plugins/marked/marked.plugin.zsh | |
parent | 9eb2118c556b81e4eb0965d3e4bc024e35687aba (diff) | |
download | zsh-9be81015d0fcb7864be9cdfe550aeee20c52bf7a.tar.gz zsh-9be81015d0fcb7864be9cdfe550aeee20c52bf7a.tar.bz2 zsh-9be81015d0fcb7864be9cdfe550aeee20c52bf7a.zip |
Adding quotes around $1
Diffstat (limited to 'plugins/marked/marked.plugin.zsh')
-rw-r--r-- | plugins/marked/marked.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/marked/marked.plugin.zsh b/plugins/marked/marked.plugin.zsh index 8c014372b..56863ade5 100644 --- a/plugins/marked/marked.plugin.zsh +++ b/plugins/marked/marked.plugin.zsh @@ -3,9 +3,9 @@ # If marked is passed a file, open it in Marked # function marked() { - if [ $1 ] + if [ "$1" ] then - open -a "marked 2.app" $1 + open -a "marked 2.app" "$1" else open -a "marked 2.app" fi |