abo-abo / pamparam

Simple and fast flashcards for Emacs
229 stars 16 forks source link

Git path to binary #15

Closed a-dma closed 5 years ago

a-dma commented 5 years ago

Hi,

I have an unconventional install of git on one of my computers that has a non-standard and non-exported path for the git binary. While I could add that location to the PATH, I was wondering if it were possible to add a configuration variable for that, something like the magit-git-executable variable used by magit.

abo-abo commented 5 years ago

I think it's easier for you to use:

(add-to-list 'exec-path "path-to-git")
a-dma commented 5 years ago

Thanks, I ended up having to set both exec-path and $PATH: shell-command wasn't happy otherwise.

FYI, I ended up scrapping this experiment because the OS (Windows in that case) seemed generally unhappy about the structure of the git repository. I don't know if it was my weird setup or something else. The same thing seems to work on Linux.

Finally, I think there is a missing dependency on lv (which I believe is a transitive dependency of hydra but doesn't get installed). I had to install that manually to get things to work.