exit_idf added. added echo of ESP_IDF_VERSION to export

This commit is contained in:
2025-04-30 11:35:40 -06:00
parent 08dffc74b3
commit f02f963ed5
6 changed files with 37 additions and 11 deletions
+6 -4
View File
@@ -13,7 +13,7 @@ installDate=installDateTAG
if [ -z $ESPIDF_INSTALLDIR ]; then
echo -e "\nFAIL: ESPIDF_INSTALLDIR environment variable not found!\nReinstall via script or manually add to ~/.zshrc\n"
# exit
exit
fi
binDir="$ESPIDF_INSTALLDIR/.custom_bin"
@@ -60,10 +60,12 @@ alias monitor="idf.py monitor"
alias flashmonitor="idf.py flash monitor"
alias menuconfig="idf.py menuconfig"
# echo -e "Changing dir to $ESPIDF_INSTALLDIR"
# cd $ESPIDF_INSTALLDIR
echo -e "Changing dir to $ESPIDF_INSTALLDIR"
cd $ESPIDF_INSTALLDIR
echo -e "\nAll done :3\n"
echo -e "esp-idf $ESP_IDF_VERSION"
echo -e "\nWelcome to esp-idf!\nAll done :3\n"
###############################################
# end esp-idf stuffss I made ##################