Unverified Commit a24e9190 authored by 冯不游's avatar 冯不游 Committed by Carlo Sala

feat(marked): remove unnecessary code

parent 221eb9b9
...@@ -3,10 +3,5 @@ ...@@ -3,10 +3,5 @@
# If marked is passed a file, open it in Marked # If marked is passed a file, open it in Marked
# #
function marked() { function marked() {
if [ "$1" ]
then
open -a "marked 2.app" "$1" open -a "marked 2.app" "$1"
else
open -a "marked 2.app"
fi
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment