Shell::readln now completes to a filename if the last word is a file
Created by: huntergoldstein
Related Issues: Closes #321 (closed)
Changes introduced in this pull request:
-
Shell::readln
now determines if the first word is either an existing directory, or is potentially a directory (i.e. if the parent exists as a folder)
TODO:
-
Use DirectoryStack
instead of getting the current directory from the environment -
How does this react if the user types a completely wrong directory?