Closed
Description
Summary
Using a file named 'setup.sh' in step 4 does not work to initiate installation of dotfiles (or, as this course has it, the sl
steam locomotive).
How to reproduce
- Follow the course to step 4.
- Create setup.sh with the
sudo apt-get
lines, as instructed. - Create a new Codespace, as instructed.
- Wait while the Codespace is set up.
- Try running
/usr/games/sl
- See the following error.
bash: /usr/games/sl: No such file or directory
Expected results and acceptance criteria
echo $PATH
should contain/usr/games
.- One way this can be achieved is by adding
export PATH=$PATH:/usr/games >> ~/.bashrc
todevcontainer.json
underpostCreateCommand
.
- One way this can be achieved is by adding
- Running
sl
from the home directory should work.
Additional context
I found that instead by using a file named 'install.sh', as documented in Personalize your codespaces#Dotfiles, during my "How to reproduce" step 4 (i.e., "Wait while the Codespace is set up.") I saw an "Installing Dotfiles" progress indicator in the terminal area.