mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
parent
a4f08ad238
commit
221eb9b90a
2 changed files with 24 additions and 0 deletions
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"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue