defaulting to bash now

This commit is contained in:
2025-08-18 18:01:40 -06:00
parent ee91c0ca43
commit 13d780498c
4 changed files with 8 additions and 7 deletions
+4 -3
View File
@@ -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 Literally the most schizophrenically overengineered thing I have ever made. idk why I did that
## Quick start ## Quick start
1. `git clone --recursive https://github.com/PrincessPi3/esp-idf-tools.git ~/esp-idf-tools` 1. `mkdir ~/esp`
2. `bash ~/esp-idf-tools/esp-idf-tools-cmd.sh install` 2. `git clone --recursive https://github.com/PrincessPi3/esp-idf-tools.git ~/esp/esp-idf-tools`
3. `source ~/.zshrc` 2. `bash ~/esp/esp-idf-tools/esp-idf-tools-cmd.sh install`
3. `source ~/.bashrc`
4. `get-esp-tools` 4. `get-esp-tools`
## Usage ## Usage
+1 -1
View File
@@ -20,7 +20,7 @@ installDate=installDateTAG
branchData=branchDataTAG branchData=branchDataTAG
if [ -z "$ESPIDTOOLS_INSTALLDIR" ]; then 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 fi
binDir="$ESPIDFTOOLS_INSTALLDIR/.custom_bin" binDir="$ESPIDFTOOLS_INSTALLDIR/.custom_bin"
Executable → Regular
View File
+3 -3
View File
@@ -43,7 +43,7 @@ else
exit exit
fi 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\ # 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 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" echo "Enter git branch to pull from, default: $gitBranch"
read readGitBranch 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 read readRcFile
echo "Enter numeber of jobs to download from github with, default: $gitJobs" echo "Enter numeber of jobs to download from github with, default: $gitJobs"