wfxr / forgit

:zzz: A utility tool powered by fzf for using git interactively.
MIT License
4.32k stars 136 forks source link

Error while trying to run forgit commands in Linux #267

Closed REIS0 closed 1 year ago

REIS0 commented 1 year ago

After a fresh Linux install forgit does not work, got this message: image

Even running forgit::add doesn't work, tried a complete clean reinstall and error persists.

cjappl commented 1 year ago

Interesting…

I’ll circle back to this after the holidays! I unfortunately don’t have a linux config so it may be hard for me to repro.

If you had time to debug and figure it out, we would be happy to accept a PR!

Id be curious to see if the same problem happened with bash or zsh, that may narrow it down.

On Sat, Dec 24, 2022 at 8:11 AM, Arthur O. Reis @.***> wrote:

After a fresh Linux install forgit does not work, got this message: image

Even running forgit::add doesn't work, tried a complete clean reinstall and error persists.

  • OS

  • Fedora Linux 37

  • Shell

  • Fish 3.5.7 with fundle

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

carlfriedrich commented 1 year ago

Hi @REIS0,

thanks for submitting this. When I implemented #241 I wasn't aware of fundle, so I didn't test the changes with this PM. I assume that fundle doesn't install subdirectories in conf.d. The forgit implementation now lives in conf.d/bin/git-forgit for fish and I assume this file is missing in your installation. Can you verify?

REIS0 commented 1 year ago

@carlfriedrich Can confirm it's missing in my conf.d folder, in this case should I reinstall forgit using another method or open an issue for fundle?

carlfriedrich commented 1 year ago

@REIS0 Installing it with fisher or oh-my-fish will work, but of course you can also create an issue for fundle. For reference, I added support for symbolic links (which we are using in forgit) to fisher in https://github.com/jorgebucaran/fisher/pull/740.