1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 15:30:40 +01:00
Files
oh-my-zsh/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"
}