dotfiles/zsh/.local/share/oh-my-zsh/.oh-my-zsh/plugins/marktext/marktext.plugin.zsh

7 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"
}