1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-20 19:31:58 +00:00

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