mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-29 05:03:52 +08:00
feat(marked): remove unnecessary code
This commit is contained in:
parent
221eb9b90a
commit
a24e91908a
|
@ -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
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user