bashrc.d/toolchains.sh
Luke 11ff24b12d 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
2025-01-25 09:59:13 -08:00

20 lines
392 B
Bash

#!/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