Temporarily set LANG to en code to avoid RuntimeError

Closes https://github.com/espressif/esp-idf/issues/7173
This commit is contained in:
Martin Gaňo 2021-06-22 11:01:14 +02:00
parent 456c52055c
commit 38c148b904

View File

@ -156,7 +156,7 @@ enable_autocomplete() {
eval "$(env _IDF.PY_COMPLETE=$SOURCE_ZSH idf.py)" || echo "WARNING: Failed to load shell autocompletion for zsh version: $ZSH_VERSION!"
elif [ -n "${BASH_SOURCE-}" ]
then
eval "$(env _IDF.PY_COMPLETE=$SOURCE_BASH idf.py)" || echo "WARNING: Failed to load shell autocompletion for bash version: $BASH_VERSION!"
eval "$(env LANG=en _IDF.PY_COMPLETE=$SOURCE_BASH idf.py)" || echo "WARNING: Failed to load shell autocompletion for bash version: $BASH_VERSION!"
fi
unset SOURCE_ZSH