Changes to aliases and restart tools

- added _restart_plasma utility funtion
 - made python aliasing more robust
 - added pip enviornment config to avoid nag messages
 - moved toolchain setup to a single file
This commit is contained in:
Luke 2025-01-25 09:59:13 -08:00
parent a606eb00c8
commit 11ff24b12d
3 changed files with 24 additions and 6 deletions

20
toolchains.sh Normal file
View file

@ -0,0 +1,20 @@
#!/bin/bash
## Node
#
# echo 'prefix = ~/.node' > ~/.npmrc
#
if [[ -d ~/.node ]]; then
if [[ -d ~/.node/bin ]]; then
export PATH="$HOME/.node/bin:$PATH"
fi
export NODE_PATH="$HOME/.node/lib/node_modules:$NODE_PATH"
fi
## Express IDF for ESP32s
if [[ -e "/opt/esp32/esp-idf" ]]; then
export IDF_TOOLS_PATH=/opt/esp32/expressif
alias get_idf='. /opt/esp32/esp-idf/export.sh'
fi