Create thefuck.rb (#2342)

* Create thefuck.rb

* Update thefuck.rb

* Update thefuck.rb

* I should have read the docs... oops. its fixed now
This commit is contained in:
Evan Pratten
2018-05-09 18:35:27 -05:00
committed by Ed Reel
parent 1e894d871e
commit dc803a8324

14
packages/thefuck.rb Normal file
View File

@@ -0,0 +1,14 @@
require 'package'
class thefuck < Package
description 'Magnificent app which corrects your previous console command.'
homepage 'https://github.com/nvbn/thefuck'
version '3.26'
depends_on 'python3'
def self.install
system "pip3 install thefuck --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}"
system "fuck && fuck"
end
end