diff options
author | Marvin Borner | 2020-03-16 23:33:42 +0100 |
---|---|---|
committer | Marvin Borner | 2020-03-16 23:33:42 +0100 |
commit | 0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 (patch) | |
tree | 719da1c7fe5dabb872fe9ff1582c39b55ccd488e /.oh-my-zsh/plugins/textastic | |
parent | e5d38956336ab1be954bdbd12808c5f98f8bd925 (diff) |
Well I'm using Arch again
Diffstat (limited to '.oh-my-zsh/plugins/textastic')
-rw-r--r-- | .oh-my-zsh/plugins/textastic/README.md | 15 | ||||
-rw-r--r-- | .oh-my-zsh/plugins/textastic/textastic.plugin.zsh | 17 |
2 files changed, 0 insertions, 32 deletions
diff --git a/.oh-my-zsh/plugins/textastic/README.md b/.oh-my-zsh/plugins/textastic/README.md deleted file mode 100644 index 3f3bcea..0000000 --- a/.oh-my-zsh/plugins/textastic/README.md +++ /dev/null @@ -1,15 +0,0 @@ -## textastic - -Plugin for Textastic, a text and code editor for Mac OS X - -### Requirements - - * [Textastic](https://www.textasticapp.com/mac.html) - -### Usage - - * If `tt` command is called without an argument, launch Textastic - - * If `tt` is passed a directory, cd to it and open it in Textastic - - * If `tt` is passed a file, open it in Textastic diff --git a/.oh-my-zsh/plugins/textastic/textastic.plugin.zsh b/.oh-my-zsh/plugins/textastic/textastic.plugin.zsh deleted file mode 100644 index f5901ea..0000000 --- a/.oh-my-zsh/plugins/textastic/textastic.plugin.zsh +++ /dev/null @@ -1,17 +0,0 @@ -# -# If the tt command is called without an argument, launch Textastic -# If tt is passed a directory, cd to it and open it in Textastic -# If tt is passed a file, open it in Textastic -# -function tt() { - if [[ -z "$1" ]] - then - open -a "textastic.app" - else - open -a "textastic.app" "$1" - if [[ -d "$1" ]] - then - cd "$1" - fi - fi -} |