X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Ftextastic%2Ftextastic.plugin.zsh;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Ftextastic%2Ftextastic.plugin.zsh;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=f5901eae2fcfcaa6fdb460b2a9e6c11c29f2f538;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/textastic/textastic.plugin.zsh b/stow/oh-my-zsh/.oh-my-zsh/plugins/textastic/textastic.plugin.zsh deleted file mode 100644 index f5901ea..0000000 --- a/stow/oh-my-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 -}