summaryrefslogtreecommitdiff
path: root/dot-oh-my-zsh/plugins/droplr/droplr.plugin.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'dot-oh-my-zsh/plugins/droplr/droplr.plugin.zsh')
m---------dot-oh-my-zsh0
-rw-r--r--dot-oh-my-zsh/plugins/droplr/droplr.plugin.zsh15
2 files changed, 0 insertions, 15 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/droplr/droplr.plugin.zsh b/dot-oh-my-zsh/plugins/droplr/droplr.plugin.zsh
deleted file mode 100644
index af0a2129..00000000
--- a/dot-oh-my-zsh/plugins/droplr/droplr.plugin.zsh
+++ /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
-}