From 7a32a98ced7817c4c4f178cb80c2c39d4957ea59 Mon Sep 17 00:00:00 2001 From: Marc Cornellà Date: Fri, 2 Sep 2016 21:01:31 +0200 Subject: droplr: convert ruby file into zsh --- plugins/droplr/droplr.rb | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 plugins/droplr/droplr.rb (limited to 'plugins/droplr/droplr.rb') diff --git a/plugins/droplr/droplr.rb b/plugins/droplr/droplr.rb deleted file mode 100755 index 00300198e..000000000 --- a/plugins/droplr/droplr.rb +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env ruby - -if ARGV[0].nil? - puts "You need to specify a parameter." - exit!(1) -end - -if ARGV[0][%r{^http[|s]://}i] - `osascript -e 'tell app "Droplr" to shorten "#{ARGV[0]}"'` -else - `open -ga /Applications/Droplr.app "#{ARGV[0]}"` -end -- cgit v1.2.3-70-g09d2