From a62114c91f2070c8c8453d117f3d81dc113e41ff Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 25 Mar 2024 16:43:09 +0530 Subject: dotfile update --- zsh/oh-my-zsh/plugins/textastic/README.md | 15 --------------- zsh/oh-my-zsh/plugins/textastic/textastic.plugin.zsh | 17 ----------------- 2 files changed, 32 deletions(-) delete mode 100644 zsh/oh-my-zsh/plugins/textastic/README.md delete mode 100644 zsh/oh-my-zsh/plugins/textastic/textastic.plugin.zsh (limited to 'zsh/oh-my-zsh/plugins/textastic') diff --git a/zsh/oh-my-zsh/plugins/textastic/README.md b/zsh/oh-my-zsh/plugins/textastic/README.md deleted file mode 100644 index 3f3bcea..0000000 --- a/zsh/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/zsh/oh-my-zsh/plugins/textastic/textastic.plugin.zsh b/zsh/oh-my-zsh/plugins/textastic/textastic.plugin.zsh deleted file mode 100644 index f5901ea..0000000 --- a/zsh/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 -} -- cgit v1.2.3-59-g8ed1b