Conditionally source zephyr-env.sh in .bashrc
This commit is contained in:
parent
63931a7068
commit
db40fbad59
2 changed files with 9 additions and 0 deletions
6
.devcontainer/.bashrc
Normal file
6
.devcontainer/.bashrc
Normal 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
|
|
@ -6,3 +6,6 @@ RUN apt-get -y update && \
|
|||
ssh \
|
||||
gpg && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY .bashrc tmp
|
||||
RUN mv /tmp/.bashrc ~/.bashrc
|
||||
|
|
Loading…
Reference in a new issue