Skip to content

Commit

Permalink
Update post create script
Browse files Browse the repository at this point in the history
Use '$HOME'
  • Loading branch information
oleksis committed Dec 22, 2023
1 parent e66778b commit ee91c8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/.devcontainer/post-create-toolbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

pre-commit install
# Setting bashrc.d
if [ ! -d ~/.bashrc.d ]; then
if [ ! -d $HOME/.bashrc.d ]; then
TOOLBOX_DIR="/workspaces/toolbox"
ln -s $TOOLBOX_DIR/.bashrc.d ~/.bashrc.d
ln -s $TOOLBOX_DIR/.bashrc.d $HOME/.bashrc.d
. $TOOLBOX_DIR/.bashrc
unset $TOOLBOX_DIR
fi

0 comments on commit ee91c8a

Please sign in to comment.