Monarchz3ro / Silver

A unix inspired terminal mockup that is definitely not an emulator.
GNU General Public License v3.0
2 stars 2 forks source link

Add MV.py, CLEAR.py and fixes some stuff #11

Closed OcelotWalrus closed 4 months ago

OcelotWalrus commented 4 months ago

Fixes + Progression

Summary

This PR fixes some bugs happening when some functions weren't run in the root directory. This PR also updates the pwd.py command output.

It also adds two new commands: mv.py (move files or dirs) and clear.py (clear the prompt). Note that for now, the mv.py command doesn't work with ../ paths-like.

OcelotWalrus commented 4 months ago

I've added a new commit that adds a executable check before running any command!

(check if the current user as a 'x' permission in the file dictionary in the ecosystem.json file)

OcelotWalrus commented 4 months ago

New commit that adds the /home/ dir and the root/ directory. It's more like a linux filesystem now. And like that, users have their own directory so they can actually do stuff. In every home folder I've added a .bashrc file so there aren't empty.

Is that good?

OcelotWalrus commented 4 months ago

Also @Monarchz3ro , I advise you to merge using squash merge, it's cleaner. Squash merge create a single commit from all the PR commits and put it in the master branch.

Monarchz3ro commented 4 months ago

Also @Monarchz3ro , I advise you to merge using squash merge, it's cleaner. Squash merge create a single commit from all the PR commits and put it in the master branch.

I see. Thank you.