feat(marked): remove unnecessary code

This commit is contained in:
冯不游 2023-02-22 18:26:30 +08:00 committed by Carlo Sala
parent 221eb9b90a
commit a24e91908a
No known key found for this signature in database
GPG Key ID: DA6FB450C1A4FE9A

View File

@ -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" ] open -a "marked 2.app" "$1"
then
open -a "marked 2.app" "$1"
else
open -a "marked 2.app"
fi
} }