]> src.twobees.de Git - dotfiles.git/blobdiff - stow/oh-my-zsh/.oh-my-zsh/plugins/droplr/droplr.plugin.zsh
rm oh-my-zsh
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / droplr / droplr.plugin.zsh
diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/droplr/droplr.plugin.zsh b/stow/oh-my-zsh/.oh-my-zsh/plugins/droplr/droplr.plugin.zsh
deleted file mode 100644 (file)
index af0a212..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-# Only compatible with MacOS
-[[ "$OSTYPE" == darwin* ]] || return
-
-droplr() {
-    if [[ $# -eq 0 ]]; then
-        echo You need to specify a parameter. >&2
-        return 1
-    fi
-
-    if [[ "$1" =~ ^https?:// ]]; then
-        osascript -e 'tell app "Droplr" to shorten "'"$1"'"'
-    else
-        open -ga /Applications/Droplr.app "$1"
-    fi
-}