mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 13:14:32 +02:00
Add default IDF_PATH detection to export.fish
Closes https://github.com/espressif/esp-idf/pull/6814
This commit is contained in:
committed by
Marek Fiala
parent
203c3e6e1c
commit
5a646b8067
@@ -7,8 +7,8 @@ end
|
|||||||
|
|
||||||
function __main
|
function __main
|
||||||
if not set -q IDF_PATH
|
if not set -q IDF_PATH
|
||||||
echo "IDF_PATH must be set before sourcing this script"
|
set -x IDF_PATH (cd (dirname (status -f)); and pwd)
|
||||||
return 1
|
echo "Chosen IDF_PATH: $IDF_PATH"
|
||||||
end
|
end
|
||||||
|
|
||||||
set script_dir (cd (dirname (status -f)); and pwd)
|
set script_dir (cd (dirname (status -f)); and pwd)
|
||||||
|
Reference in New Issue
Block a user