Add back command completions

This commit is contained in:
Jonathan Turner
2019-08-10 17:02:15 +12:00
parent a38ae910ac
commit 60e7dfcf1b
7 changed files with 131 additions and 34 deletions

View File

@@ -148,7 +148,10 @@ impl InternalCommand {
// If it's a directory, add a new filesystem shell
context
.shell_manager
.push(Box::new(FilesystemShell::with_location(location)?));
.push(Box::new(FilesystemShell::with_location(
location,
context.registry().clone(),
)?));
} else {
// If it's a file, attempt to open the file as a value and enter it
let cwd = context.shell_manager.path();