mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 05:34:32 +02:00
Merge branch 'bugfix/workaround-bash-lang-issue' into 'master'
Bugfix: Set LANG to en code to avoid RuntimeError during autocompletion activation Closes IDFGH-5432 See merge request espressif/esp-idf!14095
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user