blob: 8e2a55a0e1918beb233fdfefa25327540fd94de3 [file] [edit]
# Copyright 2026 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
[settings]
env_shell_expand = true
[env]
# Used by most workflow tools.
FUCHSIA_DIR = "{{ config_root }}"
# Used for symbolizing backtraces. Shell hacks are needed to ensure we pick up any configuration
# from vendor/ devshell scripts too.
DEBUGINFOD_URLS = "{{ exec(command=\"source $FUCHSIA_DIR/tools/devshell/lib/vars.sh && echo -n $DEBUGINFOD_URLS\") }}"
_.path = [
# Provides fx & ffx.
"{{ config_root }}/.jiri_root/bin",
# Provides clang, go, python, rustc, etc.
"{{ exec(command=\"source $FUCHSIA_DIR/tools/devshell/lib/platform.sh && echo -n $PREBUILT_ALL_PATHS\") }}",
# Provides jq, trace_processor_shell, etc.
"{{ exec(command=\"source $FUCHSIA_DIR/tools/devshell/lib/platform.sh && echo -n $PREBUILT_TOOL_PATHS\") }}",
]
[shell_alias]
fxf = "fx format-code && fx"