Conditionally source zephyr-env.sh in .bashrc

This commit is contained in:
Idan Gazit
2020-10-09 17:49:42 -07:00
parent 63931a7068
commit db40fbad59
2 changed files with 9 additions and 0 deletions

6
.devcontainer/.bashrc Normal file
View File

@@ -0,0 +1,6 @@
export LS_OPTIONS='-F --color=auto'
eval "`dircolors`"
alias ls='ls $LS_OPTIONS'
if [ -f /workspaces/zmk/zephyr/zephyr-env.sh ]; then
source /workspaces/zmk/zephyr/zephyr-env.sh
fi