You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am running BLT from a Docker container, using Lando. I have told Lando to use /app/vendor/bin/blt as the executable, so I do not need an alias. Yet I still get nuisance warnings:
$ lando blt install
...
> blt:init:shell-alias
[warning] Could not find your CLI configuration file.
[warning] Looked in~/.zsh, ~/.bash_profile, ~/.bashrc, ~/.profile, and ~/.functions.
[warning] Please create one of the aforementioned files, or create the BLT alias manually.
Describe the solution you'd like
Add an option to blt/blt.yml that lets me skip the blt:init:shell-alias task at the end of blt setup.
Describe alternatives you've considered
I could add ~/.functions or similar to the Docker container, but that seems like fixing the problem in the wrong place. Besides, I still get one line of success noise (green) instead of a few lines of warning noise (yellow).
Additional context
I plan to submit a PR soon.
The text was updated successfully, but these errors were encountered:
It's not mentioned explicitly in the docs but I think in addition to using blt.yml, you can also do this via the CLI: blt setup -D disable-targets.blt.shell-alias.init=true
If that works maybe we need to link to the docs from the warning message like we do for Git hooks.
Thanks for the link to the docs. It works as expected.
I did not test adding the option at the CLI.
For the record, I added these lines to blt/blt.yml:
disable-targets:
blt:
shell-alias:
init: true
Adding a link to the docs might help. OTOH, an extra line in the annoying warning message would make it even more annoying. Maybe adding an item to https://docs.acquia.com/blt/install/next-steps/ would be a better idea.
Is your feature request related to a problem? Please describe.
I am running BLT from a Docker container, using Lando. I have told Lando to use
/app/vendor/bin/blt
as the executable, so I do not need an alias. Yet I still get nuisance warnings:Describe the solution you'd like
Add an option to
blt/blt.yml
that lets me skip theblt:init:shell-alias
task at the end ofblt setup
.Describe alternatives you've considered
I could add
~/.functions
or similar to the Docker container, but that seems like fixing the problem in the wrong place. Besides, I still get one line of success noise (green) instead of a few lines of warning noise (yellow).Additional context
I plan to submit a PR soon.
The text was updated successfully, but these errors were encountered: