summaryrefslogtreecommitdiff
path: root/.devcontainer/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.devcontainer/.bashrc')
-rw-r--r--.devcontainer/.bashrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.devcontainer/.bashrc b/.devcontainer/.bashrc
index 855ea75..9fdb8f6 100644
--- a/.devcontainer/.bashrc
+++ b/.devcontainer/.bashrc
@@ -1,6 +1,8 @@
export LS_OPTIONS='-F --color=auto'
-eval "`dircolors`"
alias ls='ls $LS_OPTIONS'
+if [ "${CODESPACES}" = "true" ]; then
+ export WORKSPACE_DIR="$HOME/workspace/zmk"
+fi
if [ -f "$WORKSPACE_DIR/zephyr/zephyr-env.sh" ]; then
source "$WORKSPACE_DIR/zephyr/zephyr-env.sh"
fi