1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-12 08:25:53 +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"
}