mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
Add export and install scripts for fish shell
Closes https://github.com/espressif/esp-idf/issues/4459 Merges https://github.com/espressif/esp-idf/pull/4944
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env fish
|
||||
|
||||
set basedir (realpath (status --current-filename)/..)
|
||||
|
||||
set -x IDF_PATH $basedir
|
||||
|
||||
echo "Installing ESP-IDF tools"
|
||||
"$IDF_PATH"/tools/idf_tools.py install
|
||||
|
||||
echo "Installing Python environment and packages"
|
||||
"$IDF_PATH"/tools/idf_tools.py install-python-env
|
||||
|
||||
echo "All done! You can now run:"
|
||||
echo ""
|
||||
echo " . "$basedir"/export.fish"
|
||||
echo ""
|
||||
Reference in New Issue
Block a user