Kevin Heinicke 9 years ago
parent
commit
4d65f68d6c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      zshrc

+ 1 - 1
zshrc

@@ -23,7 +23,7 @@ printable-code()
     [[ ${1} =~ "([^.]+).([^.]+)" ]] && name=$match[1] && ext=$match[2]
     ext=`test -n "${2}" && echo ${2} || echo $ext`
     doc="# ${1}\n\`\`\`$ext\n$body\n\`\`\`"
-    oformat=`test -n "${3}" && echo ${3} || "pdf"`
+    oformat=`test -n "${3}" && echo ${3} || echo "pdf"`
     echo $doc | pandoc -o "$name.$oformat"
 }