mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-10 18:29:50 +00:00
7
plugins/marktext/marktext.plugin.zsh
Normal file
7
plugins/marktext/marktext.plugin.zsh
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# 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"
|
||||
}
|
||||
Reference in New Issue
Block a user