diff options
author | Marvin Borner | 2020-03-16 23:33:42 +0100 |
---|---|---|
committer | Marvin Borner | 2020-03-16 23:33:42 +0100 |
commit | 0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 (patch) | |
tree | 719da1c7fe5dabb872fe9ff1582c39b55ccd488e /.oh-my-zsh/plugins/droplr/droplr.plugin.zsh | |
parent | e5d38956336ab1be954bdbd12808c5f98f8bd925 (diff) |
Well I'm using Arch again
Diffstat (limited to '.oh-my-zsh/plugins/droplr/droplr.plugin.zsh')
-rw-r--r-- | .oh-my-zsh/plugins/droplr/droplr.plugin.zsh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/.oh-my-zsh/plugins/droplr/droplr.plugin.zsh b/.oh-my-zsh/plugins/droplr/droplr.plugin.zsh deleted file mode 100644 index af0a212..0000000 --- a/.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 -} |