esp-idf/export.fish
Frantisek Hrbata 1c22f6c4e8 feat: add python script to activate ESP-IDF environment
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-09-05 10:13:03 +02:00

10 lines
306 B
Fish

# This script should be sourced, not executed.
# `idf_tools.py export --deactivate` create statement, with keyword unset, but fish shell support only `set --erase variable`
function unset
set --erase $argv
end
set script_dir (dirname (realpath (status -f)))
eval ("$script_dir"/activate.py --export)