Fixing 'command not found' error: Step 4 #106
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
I want fix these bug:
bash: sl: command not found
partialy reported in this issue: #98.Changes
I didn't have problem with the installation of sl with apt-get, but I notice that the environment variable /usr/games are not included when I try to run
echo $PATH
.In my commit, I changed the setup.sh code. Now, /usr/games is added to the original PATH variable and it's saved in the ~/.bashrc file. This allows you to have the new variable in all open terminals. Therefore, when you try to run the
sl
command, the script starts without errors, allowing you to complete Step 4. 🎉Link to Issue 98
Closes
Hoping that you like this contribution, I wanted to thank you for this exercise, which introduced me to the world of codespaces.
If you have any doubts, please do not hesitate to contact me.
Have a nice day,
Alessandro
Task list