diff --git a/91_install_cli.sh b/91_install_cli.sh index 3aac57d..70768c7 100755 --- a/91_install_cli.sh +++ b/91_install_cli.sh @@ -18,6 +18,12 @@ else # add $HOME/bin to PATH export PATH="$HOME/bin:$PATH" + read -p "Do you want to add $HOME/bin to PATH? (y/n) " answer + if [[ "$answer" == "y" ]]; then + echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc + source ~/.bashrc + echo "Added $HOME/bin to PATH." + fi fi arduino-cli update @@ -34,3 +40,5 @@ else git clone https://git.istlab.info/git/miura250/m5scp2_exp.git fi + +