dotfiles/zsh/.zsh/plugins/marktext/marktext.plugin.zsh

8 lines
171 B
Bash
Raw Normal View History

2024-04-26 17:41:20 +00:00
#
# 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"
}