From 5a646b806722da5e4743f3808bfca18d17ba299d Mon Sep 17 00:00:00 2001 From: Alexander Grin Date: Thu, 1 Apr 2021 20:03:16 +0300 Subject: [PATCH] Add default IDF_PATH detection to export.fish Closes https://github.com/espressif/esp-idf/pull/6814 --- export.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/export.fish b/export.fish index bd15f51670..bc3f23c282 100644 --- a/export.fish +++ b/export.fish @@ -7,8 +7,8 @@ end function __main if not set -q IDF_PATH - echo "IDF_PATH must be set before sourcing this script" - return 1 + set -x IDF_PATH (cd (dirname (status -f)); and pwd) + echo "Chosen IDF_PATH: $IDF_PATH" end set script_dir (cd (dirname (status -f)); and pwd)