Skip to content

[Bug] Using 'setup.sh' in step 4 doesn't work #98

Closed
@czmoss

Description

@czmoss

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

  1. Follow the course to step 4.
  2. Create setup.sh with the sudo apt-get lines, as instructed.
  3. Create a new Codespace, as instructed.
  4. Wait while the Codespace is set up.
  5. Try running /usr/games/sl
  6. 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 to devcontainer.json under postCreateCommand.
  • 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.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds engineeringRequires engineering-specific changes only.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions