Skip to content
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

Silence "complete" output in deactivate script #239

Open
klauer opened this issue May 6, 2022 · 1 comment
Open

Silence "complete" output in deactivate script #239

klauer opened this issue May 6, 2022 · 1 comment
Labels
Beginner Development Packaging, testing, and deployment help wanted

Comments

@klauer
Copy link
Contributor

klauer commented May 6, 2022

When nesting a bash shell in an activated conda environment that includes happi, this deactivate line can cause unwanted warnings to be displayed in the terminal:

[ -n "$BASH" ] && complete -r happi

Reference issue: pcdshub/shared-dotfiles#36

Redirecting to /dev/null should be sufficient.

The conda-forge feedstock will need updating as well:
https://github.com/conda-forge/happi-feedstock/

@klauer klauer added help wanted Beginner Development Packaging, testing, and deployment labels May 6, 2022
@klauer
Copy link
Contributor Author

klauer commented May 20, 2022

I see this on ads-deploy via plcprog-console as well, frustratingly enough when building PLC projects:

/C/miniconda/envs/ads-deploy-2.9.1/etc/conda/deactivate.d/happi.sh: line 4: complete: happi: no completion specification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Beginner Development Packaging, testing, and deployment help wanted
Projects
None yet
Development

No branches or pull requests

1 participant