mirror of
https://github.com/opensiriusfox/bashrc.d.git
synced 2025-06-16 20:31:15 -07:00
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:
parent
a606eb00c8
commit
11ff24b12d
3 changed files with 24 additions and 6 deletions
20
toolchains.sh
Normal file
20
toolchains.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue