sparse-intern-71089
06/22/2021, 2:45 PMnutritious-shampoo-16116
07/01/2021, 2:36 PMpythonpath-add:
@if [ -f ~/.zshrc ]; then\
if [ $(shell cat ~/.zshrc | grep "export PYTHONPATH=\$$PYTHONPATH:$$(pwd)" | wc -l) -eq 0 ]; then\
echo "export PYTHONPATH=\$$PYTHONPATH:$$(pwd)" >> ~/.zshrc;\
fi;\
elif [ -f ~/.bashrc ]; then\
if [ $(shell cat ~/.bashrc | grep "export PYTHONPATH=\$$PYTHONPATH:$$(pwd)" | wc -l) -eq 0 ]; then\
echo "export PYTHONPATH=\$$PYTHONPATH:$$(pwd)" >> ~/.bashrc;\
fi;\
else\
echo "No shell recognized, append `export PYTHONPATH=$PYTHONPATH:/path/to/this/folder` to your shell configuration file";\
fi
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by