defaulting to bash now
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Executable → Regular
@@ -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
|
||||
@@ -553,7 +553,7 @@ 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"
|
||||
|
||||
Reference in New Issue
Block a user