dot_files/dot_oh-my-zsh/plugins/marktext/marktext.plugin.zsh
Viktor Barzin 58ef6d327f initial
2025-11-22 22:51:27 +00:00

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