1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 12:56:55 +08:00
ohmyzsh/plugins/marktext/marktext.plugin.zsh
2023-02-22 12:14:22 +01:00

8 lines
171 B
Bash

#
# If marktext is called without an argument, open MarkText
# If marktext is passed a file, open it in MarkText
#
function marktext() {
open -a "MarkText.app" "$1"
}