Fakerr / git-recall

An interactive way to peruse your git history from the terminal
MIT License
2.12k stars 47 forks source link

I get an abort error #8

Closed CaptainJeff closed 7 years ago

CaptainJeff commented 7 years ago

I installed it through npm but when i try to run git recall i get the following error

abort: the program lesskey is not installed. Make sure to install it before running git-recall

lukasklein commented 7 years ago

I assume you're on mac OS? Cause the same happened to me. Seems like less is compiled without the lesskey feature. I'm not sure how to fix it without recompiling less, though.

G07cha commented 7 years ago

I've got the same problem, for me, the solution was to install less from brew(which also includes lesskey):

brew install less
lukasklein commented 7 years ago

Did you install it from dupes/less?

> brew install less
Error: No available formula with the name "less"
==> Searching for similarly named formulae...
These similarly named formulae were found:
cless                                                               gitless                                                             lesspipe                                                            lesstif
To install one of them, run (for example):
  brew install cless
==> Searching taps...
These formulae were found in taps:
homebrew/dupes/less                                                 homebrew/science/bless                                              Caskroom/cask/endlesssky                                            Caskroom/cask/simpless
homebrew/emacs/less-css-mode                                        Caskroom/cask/charlessoft-timetracker                               Caskroom/cask/losslesscut                                           Caskroom/cask/wireless-transfer
To install one of them, run (for example):
  brew install homebrew/dupes/less
G07cha commented 7 years ago

Yes, to be more specific the command should be brew install homebrew/dupes/less as Kevin said in another issue. But similar search is performed automatically, therefore short name should work in most cases.

Fakerr commented 7 years ago

Lesskey is no longer required now.