mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-14 01:34:22 +08:00
feat(marked): remove unnecessary code
This commit is contained in:
1 parent
221eb9b90a
commit
a24e91908a
1 file changed
+1
-6
@@ -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
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user