-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shell commands no longer run from the current repository directory #3872
Comments
Can't reproduce, seems to work correctly for me. Could you provide more detail? From which directory are you starting lazygit, and what is the path to your repo? This is hard to see from the video. |
Sorry, here's a more clear video: iTerm.2024-08-29.at.10.41.35.mp4I'm starting lazygit from May be something to do with my shell being fish, but it did work until recently and I don't believe I've changed anything at my end. |
It's probably caused by #3793 then. Does your |
Yes, it does 😅, sorry I forgot that's how I had things setup:
I wonder if I can implement a solution in my config in that case. |
We have no way to customize the shell that is being used for custom commands. We were hoping that calling One potential workaround could be if lazygit would set an environment variable (e.g. But my recommendation would be to remove it from your config file, and instead configure your terminal so that it cds to Projects when you open a new tab. Most terminals have such an option, I think. |
I think the reason I set it up this way was for Thanks! |
Regressed at some point, used to work. Testing on current HEAD (05ae080)
The text was updated successfully, but these errors were encountered: