diff options
Diffstat (limited to 'dot-oh-my-zsh/plugins/textastic/textastic.plugin.zsh')
| m--------- | dot-oh-my-zsh | 0 | ||||
| -rw-r--r-- | dot-oh-my-zsh/plugins/textastic/textastic.plugin.zsh | 17 |
2 files changed, 0 insertions, 17 deletions
diff --git a/dot-oh-my-zsh b/dot-oh-my-zsh new file mode 160000 +Subproject 6fe84bf5c82da7b1f6d7c5ec3e5c447721ac8ce diff --git a/dot-oh-my-zsh/plugins/textastic/textastic.plugin.zsh b/dot-oh-my-zsh/plugins/textastic/textastic.plugin.zsh deleted file mode 100644 index f5901eae..00000000 --- a/dot-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 -} |
