20 lines
978 B
Bash
20 lines
978 B
Bash
echo 'alias run_esp_reinstall="git -C $HOME/esp/esp-install-custom pull; cat $HOME/esp/esp-install-custom/version.txt; bash $HOME/esp/esp-install-custom/reinstall-esp-idf.sh "' >> ~/.zshrc
|
|
|
|
echo 'alias esp_monitor="tail -n 75 -f $ESPIDF_INSTALLDIR/install.log;"' >> ~/.zshrc
|
|
|
|
echo 'alias esp_logs="less $ESPIDF_INSTALLDIR/install.log; less $ESPIDF_INSTALLDIR/version-data.txt"' >> ~/.zshrc
|
|
|
|
# run_esp_reinstall performs a git pull first to get the latest esp-inststall-custom code, then cats version.txt for clarity before running the command with an optional argument
|
|
# run_esp_reinstall
|
|
# run_esp_reinstall clear
|
|
# run_esp_reinstall nuke
|
|
# run_esp_reinstall test
|
|
# run_esp_reinstall interactive
|
|
# run_esp_reinstall retool
|
|
|
|
# esp_monitor is an alias for tail -n 75 -f $ESPIDF_INSTALLDIR/install.log and takes no arguments
|
|
# esp_monitor
|
|
|
|
# esp_logs is an alias for less $ESPIDF_INSTALLDIR/install.log; less $ESPIDF_INSTALLDIR/version-data.txt and takes no arguments
|
|
# esp_logs
|