Sha256: 0016ea8029af3d63770e9b3de84a69d5903687ca3d4fc2fe75a860b46a8e625c

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

#!/usr/bin/env ruby

root = File.expand_path(File.join(File.dirname(__FILE__),'..'))
if File.directory?(File.join(root,'.git'))
  Dir.chdir(root) do
    begin
      require 'bundler/setup'
      require 'exa'
      require 'exa/shell'

      Exa::Shell.repl! do |config|
        config.prompt = -> shell {  shell.pastel.bold(" #{shell.pwd.path} $ ") }
      end
    rescue LoadError => e
      warn e.message
      warn "Run `gem install bundler` to install Bundler"
      exit(-1)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
exa-0.1.0 bin/exa