----------------------------- Delete below -----------------------------
If your issue is a general question, starts similar to "How do I..", or is related to 3rd party development kits/libs, please discuss this on our community forum at esp32.com instead.
Before submitting a new issue, please follow the checklist and try to find the answer.
If the issue cannot be solved after the steps before, please follow these instructions so we can get the needed information to help you in a quick and effective fashion.
----------------------------- Delete above -----------------------------
IDF version (run git describe --tags to find it): cv4.1-dev-1086-g93a8603c5
Build System: CMake
xtensa-esp32-elf-gcc --version to find it): v4.1-dev-1086-g93a8603c5I'm using FISH SHELL
Following the steps from Get Started, on Step 4 - Setup environment variables, on Linux
The follow line, from step above:
. $HOME/esp/esp-idf/export.sh
Issues a error
. $HOME/esp/esp-idf/export_fish.sh 23:53
~/esp/esp-idf/export_fish.sh (linha 1): Unexpected ')' found, expecting '}'
# This script should be sourced, not executed.
function realpath_int() {
wdir="$PWD"; [ "$PWD" = "/" ] && wdir=""
arg=$1
case "$arg" in
"/"*) scriptdir="${arg}";;
^
do arquivo ~/esp/esp-idf/export_fish.sh
chamado na linha 359 do arquivo “/usr/share/fish/config.fish”
na função “.”
chamado na entrada padrão
Hi @kylefelipe, so far we haven't added support for fish shell to the install/export scripts. These scripts are tested with bash only at the moment. If you are familiar with this shell and if you can send a PR to make the script compatible with fish, we will merge it. Otherwise we will treat this issue as a feature request for fish support.
I used bass so source export.sh.
Install bass using fisherman, then run
$ bass source export.sh
How should I call bass if I installed with env IDF_TOOLS_PATH=/opt/espresiff ./install.sh?
UPDATE: I am upgrading from fish 3.0.2 to fish 3.1 which supports FOO=bar syntax for passing variables to individual commands. See https://github.com/fish-shell/fish-shell/pull/6287
Most helpful comment
I used bass so source export.sh.
Install bass using fisherman, then run
$ bass source export.sh