Skip to content

Commit

Permalink
fix patch
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Mar 6, 2024
1 parent c3f5793 commit dc9096d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .devcontainer/postCreateCommand
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@
################################################################################

if [[ $USER != "root" ]] ; then
# make sure the non-root user can build iocs and (mounted in) support modules
sudo chown -R ${USER}:${USER} /epics/ibek-defs /epics/pvi-defs /epics/support/configure /venv
sudo chown -h ${USER}:${USER} /epics /epics/ioc /epics/support
# make sure the non-root user can interact with the rtems BSP and RSB
sudo chown -R ${USER}:${USER} /rtems*/rsb /rtems*/rtems
fi

################################################################################
# Shell customizations for Generic IOC devcontainers
################################################################################

# pick a theme that does not cause completion corruption in zsh
sed -i $HOME/.zshrc -e 's/ZSH_THEME="devcontainers"/ZSH_THEME="eastwood"/'
sed -i $HOME/.zshrc -e 's/ZSH_THEME="devcontainers"/ZSH_THEME="dst"/'

# allow personalization of all devcontainers in this subdirectory
# by placing a .devcontainer_rc file in the workspace root
Expand Down

0 comments on commit dc9096d

Please sign in to comment.