summaryrefslogtreecommitdiff
path: root/.devcontainer/.bashrc
diff options
context:
space:
mode:
authorNick Winans <nick.win999@gmail.com>2020-10-23 00:55:50 -0500
committerGitHub <noreply@github.com>2020-10-23 00:55:50 -0500
commit70ffcca3b42f5dacf5be155a56b11387a7e68b63 (patch)
tree80954a5afb17978ad897e3dde0385cfee0a902c9 /.devcontainer/.bashrc
parent162c6b77db27c158b05ed65effa8d8ded68ba9b7 (diff)
parent04b7a759f4c676c96da261a724cef1517614dea1 (diff)
Merge branch 'main' into bluetooth/battery-reporting
Diffstat (limited to '.devcontainer/.bashrc')
-rw-r--r--.devcontainer/.bashrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.devcontainer/.bashrc b/.devcontainer/.bashrc
new file mode 100644
index 0000000..9fdb8f6
--- /dev/null
+++ b/.devcontainer/.bashrc
@@ -0,0 +1,8 @@
+export LS_OPTIONS='-F --color=auto'
+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