diff --git a/add-to-export-sh.txt b/add-to-export-sh.txt index afb4d4b..4c41386 100644 --- a/add-to-export-sh.txt +++ b/add-to-export-sh.txt @@ -37,6 +37,12 @@ echo "ESPBAUD = ${ESPBAUD}" export ESPTARGET=$esp echo "ESPTARGET = ${ESPTARGET}" +binDir="${HOME}/esp/.custom_bin" +echo "Setting alias" +alias changeport="source ${binDir}/changeport.sh" +alias changebaud="source ${binDir}/changebaud.sh" +alias changesp="source ${binDir}/changeesp.sh" + echo "Changing dir to ${HOME}/esp" cd "${HOME}/esp" diff --git a/custom_bin/changebaud b/custom_bin/changebaud.sh similarity index 100% rename from custom_bin/changebaud rename to custom_bin/changebaud.sh diff --git a/custom_bin/changeesp b/custom_bin/changeesp.sh similarity index 100% rename from custom_bin/changeesp rename to custom_bin/changeesp.sh diff --git a/custom_bin/changeport b/custom_bin/changeport.sh similarity index 100% rename from custom_bin/changeport rename to custom_bin/changeport.sh diff --git a/custom_bin/export.py b/custom_bin/export.py deleted file mode 100644 index ead1b89..0000000 --- a/custom_bin/export.py +++ /dev/null @@ -1,3 +0,0 @@ -import os -os.environ['SILLY'] = 'IAMASILLYFILLY' -print("SILLY = ", os.environ['SILLY']) \ No newline at end of file