Added quoting for $EDITOR's with spaces
authorMark Szymanski <mrman208@me.com>
Sat, 1 Jan 2011 17:40:49 +0000 (11:40 -0600)
committerMark Szymanski <mrman208@me.com>
Sat, 1 Jan 2011 17:40:49 +0000 (11:40 -0600)
plugins/jekyll.plugins.bash

index e87b82d..9797f8b 100644 (file)
@@ -204,5 +204,5 @@ newpost() {
 
        # Open the file in your favorite editor
 
-       $EDITOR $FNAME
+       "$EDITOR" $FNAME
 }