From 8784ab9cc871a64b85f8a1285686e1dc51fd174c Mon Sep 17 00:00:00 2001 From: "Wu, Zhenyu" Date: Tue, 10 Dec 2024 19:03:23 +0800 Subject: [PATCH] :technologist: Add some paths to $PATH --- .envrc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.envrc b/.envrc index 3e4cf73..18ddd8b 100644 --- a/.envrc +++ b/.envrc @@ -1,9 +1,16 @@ -# shellcheck shell=bash +# shellcheck shell=bash disable=SC2123 if [[ -x /opt/ccstudio/ccs/tools/compiler/c6000_7.4.24/bin/cl6x ]]; then PATH="/opt/ccstudio/ccs/tools/compiler/c6000_7.4.24/bin${PATH:+:}$PATH" fi +if [[ -x /opt/ccstudio/ccs/ccs_base/scripting/bin/dss.sh ]]; then + PATH="/opt/ccstudio/ccs/ccs_base/scripting/bin${PATH:+:}$PATH" +fi +if [[ -x /opt/ccstudio/ccs/ccs_base/scripting/examples/loadti/loadti.sh ]]; then + PATH="/opt/ccstudio/ccs/ccs_base/scripting/examples/loadti${PATH:+:}$PATH" +fi if command -v cl6x &>/dev/null; then - export C6X_C_DIR="$(dirname "$(dirname "$(realpath "$(command -v cl6x)")")")" + export C6X_C_DIR + C6X_C_DIR="$(dirname "$(dirname "$(realpath "$(command -v cl6x)")")")" C6X_C_DIR="$C6X_C_DIR/include;$C6X_C_DIR/lib" fi # ex: filetype=sh