Behave properly in GH Codespaces
This commit is contained in:
parent
eee8eb6e77
commit
737283bcbc
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
"dockerFile": "Dockerfile",
|
||||
"extensions": ["ms-vscode.cpptools"],
|
||||
"runArgs": ["--security-opt", "label=disable"],
|
||||
"containerEnv": {"WORKSPACE_DIR": "${containerWorkspaceFolder}"}
|
||||
"containerEnv": {"WORKSPACE_DIR": "${containerWorkspaceFolder}"},
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/bash"
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue