diff --git a/README.md b/README.md index 2e6e204..fe210e3 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,10 @@ some features require user to have passwordless sudo rights Literally the most schizophrenically overengineered thing I have ever made. idk why I did that ## Quick start -1. `git clone --recursive https://github.com/PrincessPi3/esp-idf-tools.git ~/esp-idf-tools` -2. `bash ~/esp-idf-tools/esp-idf-tools-cmd.sh install` -3. `source ~/.zshrc` +1. `mkdir ~/esp` +2. `git clone --recursive https://github.com/PrincessPi3/esp-idf-tools.git ~/esp/esp-idf-tools` +2. `bash ~/esp/esp-idf-tools/esp-idf-tools-cmd.sh install` +3. `source ~/.bashrc` 4. `get-esp-tools` ## Usage diff --git a/add-to-export-sh.txt b/add-to-export-sh.txt index d3d66d2..a0455b3 100644 --- a/add-to-export-sh.txt +++ b/add-to-export-sh.txt @@ -20,7 +20,7 @@ installDate=installDateTAG branchData=branchDataTAG if [ -z "$ESPIDTOOLS_INSTALLDIR" ]; then - echo -e "\nFAIL: ESPIDFTOOLS_INSTALLDIR environment variable not found!\nReinstall via script or manually add to ~/.zshrc\n" + echo -e "\nFAIL: ESPIDFTOOLS_INSTALLDIR environment variable not found!\nReinstall via script or manually add to ~/.bashrc\n" fi binDir="$ESPIDFTOOLS_INSTALLDIR/.custom_bin" diff --git a/custom_bin/erase-flash b/custom_bin/erase-flash old mode 100755 new mode 100644 diff --git a/esp-idf-tools-cmd.sh b/esp-idf-tools-cmd.sh index 460b666..211ef4a 100644 --- a/esp-idf-tools-cmd.sh +++ b/esp-idf-tools-cmd.sh @@ -43,7 +43,7 @@ else exit fi -rcFile="$HOME/.zshrc" # absolute path only +rcFile="$HOME/.bashrc" # absolute path only # get us our FUCKING ALIASES HOLY FUCK GOD DAMN SHIT FUCK IT\ source "$rcFile" 2>/dev/null # >2?/dev/null is to redirect any errors @@ -552,8 +552,8 @@ elif [[ "$arg" == "interactive" || "$arg" == "install" || "$arg" == "i" ]]; then echo "Enter git branch to pull from, default: $gitBranch" read readGitBranch - - echo "Enter full path to rc file (.bashrc, .zshrc) default: $rcFile" + + echo "Enter full path to rc file (/home/user/.bashrc, /home/user/.zshrc) default: $rcFile" read readRcFile echo "Enter numeber of jobs to download from github with, default: $gitJobs"