cs50 / codespace

https://cs50.readthedocs.io/cs50/codespace
GNU General Public License v3.0
119 stars 351 forks source link

Removing `nshopt -q login_shell` as (hopefully) no longer necessary #153

Closed dmalan closed 3 months ago

rongxin-liu commented 3 months ago

We need to add back the following to .devcontainer.json:

        "terminal.integrated.profiles.linux": {
          "bash": {
            "path": "/bin/bash",
            "args": [
                "-l"
            ]
          }
        }

But still not working as expected. I have to create another terminal to have the loggedin bash.

rongxin-liu commented 3 months ago

To clarify, right after the rebuild, I'm still getting this prompt in my terminal:

ubuntu@codespaces-52f2b8:/workspaces/10591665$ 

Creating a new terminal will give me back the $ prompt.