Files
zsh-config/plugins/marktext/marktext.plugin.zsh
2026-03-01 20:58:45 -06: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"
}