Permalink
Browse files

standalone

  • Loading branch information...
1 parent 8e80c38 commit bd3a4c86dca10f46171b755f52c670ca9797e592 @defunkt defunkt committed Mar 1, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 gist
View
8 gist
@@ -79,7 +79,7 @@ module Gist
end
end
module Gist
- VERSION = Version = '1.0.1'
+ VERSION = Version = '1.0.2'
end
require 'open-uri'
require 'net/http'
@@ -174,11 +174,11 @@ module Gist
def copy(content)
cmd = case true
- when system("which pbcopy > /dev/null")
+ when system("which pbcopy &> /dev/null")
:pbcopy
- when system("which xclip > /dev/null")
+ when system("which xclip &> /dev/null")
:xclip
- when system("which putclip")
+ when system("which putclip &> /dev/null")
:putclip
end

0 comments on commit bd3a4c8

Please sign in to comment.