X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Ftextmate%2Ftextmate.plugin.zsh;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Ftextmate%2Ftextmate.plugin.zsh;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=17451101931de3a7d9d3556cbfb4471d303c4674;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/textmate/textmate.plugin.zsh b/stow/oh-my-zsh/.oh-my-zsh/plugins/textmate/textmate.plugin.zsh deleted file mode 100644 index 1745110..0000000 --- a/stow/oh-my-zsh/.oh-my-zsh/plugins/textmate/textmate.plugin.zsh +++ /dev/null @@ -1,14 +0,0 @@ -# If the tm command is called without an argument, open TextMate in the current directory -# If tm is passed a directory, cd to it and open it in TextMate -# If tm is passed anything else (i.e., a list of files and/or options), pass them all along -# This allows easy opening of multiple files. -function tm() { - if [[ -z $1 ]]; then - mate . - elif [[ -d $1 ]]; then - mate $1 - cd $1 - else - mate "$@" - fi -}