Closed eoli3n closed 2 years ago
I'm not a fisher user myself, so someone else will need to troubleshoot this. As a workaround, you can try running __git.init
manually, which should install the abbreviations. You should only need to do this one time, and they will stick around for all new fish sessions.
Ok, just retried at home on Void Linux. It doesn't work on Arch Linux, but it still works on Void Linux. So the problem seems to not be related to fisher. Same fish and fisher versions on both OS.
If I manually run __git.init
, it works for the current shell.
Edit : hey, now its working, even I close/open a new term... as you said, but I didn't read well.
Yeah, the way we install the abbreviations they will stick around, as fish itself preserves them for your user. This is to reduce shell startup time.
This hook is what should be launched by fisher once installed: https://github.com/jhillyerd/plugin-git/blob/master/hooks/install.fish -- no idea what would prevent it from working on Arch.
I just removed then readd the plugin with fisher. It works perfectly. No clue about what happened, but I can't reproduce. I will reopen if needed.