1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 07:20:40 +01: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

View File

@@ -3,10 +3,5 @@
# If marked is passed a file, open it in Marked
#
function marked() {
if [ "$1" ]
then
open -a "marked 2.app" "$1"
else
open -a "marked 2.app"
fi
open -a "marked 2.app" "$1"
}