-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Custom command passing a string literal #354
Comments
|
What would you suggest the workflow should be if this isn't a bug @skanehira? |
I agree, we ought to run all custom commands in a shell so that things like $(pwd) can be evaluated. We do that currently with lazygit |
I'll tackle this one. |
go ahead @gusandrioli :) |
Appreciate the follow-up! 🙏 |
@pythoninthegrass PR was merged :) |
Describe the bug
Running an ad hoc
docker run
command in the terminal works. Passing the same command to lazydocker as either a scalar (folded/literal) or inline fails.To Reproduce
Steps to reproduce the behavior:
config.yml
Expected behaviour
It should interpolate/expand the
pwd
command or$PWD
built-in variable in the command. Only able to hard-code the absolute path to work around the issue. Less than ideal, of course.Screenshots
N/A
Desktop (please complete the following information):
Additional context
Using the new docker mount syntax got the same results.
The text was updated successfully, but these errors were encountered: