starting working on a file browser and decided that a few extra commands and the bash could be used as one kind of
Simply the addition of an ls command to the bash to list file names
another addition to the bash shell this time th cd command
- features; help, folder existence, cd .. and cd /
You were working on part of the same thing I was working on. My recent commit will have broken most of your code but I'm working on getting all of the directory changing code in. I had intended on doing it next then I saw your pull request after I had already committed my code >.>
yeah from what you have added, it allows for a lot more. it's a problem though if two people are working on the same thing. the cd code shouldn't be that hard to work in you should be able to use most of your ls command code
for the directory changing, i had the idea of having a buffer/tree of folder locations so that as you move down through a folder each, the directory is added to the buffer. When changing back, the prompt would simply move back up the tree. although displaying the directories before the prompt would make the shell need to find the name of each folder and print it out, this could be calculated once for each directory change and stored somewhere though.
Yeah, the idea I have in mind is to keep the present working directory then have a directory stack. And I have most of your cd code done. Just working on the cd .. part and the directory stack now.
Moved directory stuff over to the shell
Fixed #30 using bungao's pull request code and the new filesystem code
Added a directory stack to keep track of the directory path