Sha256: bde1537694b20808a256322d937df57dab15f5bad017504b339d94f77d0fafbf

Contents?: true

Size: 274 Bytes

Versions: 1

Compression:

Stored size: 274 Bytes

Contents

#!/usr/bin/env ruby
have_peco = system "command -v peco > /dev/null"

if have_peco
  # system "eval `githelp #{$*.join(' ')} | peco`"
  cmd = `githelp #{$*.join(' ')} | peco`.gsub(/^\s*/,'')
  puts cmd
  system cmd
else
  puts "pecoをインストールして下さい"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
githelp-0.2.11 exe/gh