bin/gitsh
#!/usr/bin/env ruby
# This bin file is provided for convenience during development, the
# distribution binary is built from the template at src/gitsh.rb.in and is
# executed by the C binary built from src/gitsh.c
require 'bundler/setup'
%w( lib ext ).each do |directory|
$LOAD_PATH.unshift(File.expand_path("../../#{directory}", __FILE__))
end
require 'gitsh/environment'
require 'gitsh/cli'
env = Gitsh::Environment.new(
config_directory: File.expand_path('../../etc', __FILE__),
)
Gitsh::CLI.new(env: env).run