Commit 4f5a0f28 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #756 from uberhacker/add-fasd-package

Add fasd package
parents 68386f6e 7f8fdae0
require 'package'
class Fasd < Package
description 'Command-line productivity booster, offers quick access to files and directories, inspired by autojump, z and v.'
homepage 'https://github.com/clvv/fasd'
version '1.0.1'
source_url 'https://github.com/clvv/fasd/archive/1.0.1.tar.gz'
source_sha1 'aeb3f9c6f8f9e4355016e3255429bcad5c7a5689'
def self.install
system "sed -i 's,share/man,man,' Makefile"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
puts ""
puts "To get fasd working in a shell, some initialization code must be run:".lightblue
puts "echo 'eval \"\$(fasd --init auto)\"' >> ~/.bashrc && source ~/.bashrc".lightblue
puts ""
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment