Bugfixes and improvements
- ls fixed - fixed a bug where ~ wouldnt resolve properly - temporarily increased the process chunking treshold, because chunking breaks formatting - added clear - added pwd
This commit is contained in:
@@ -28,6 +28,11 @@ export function resolvePath(state: ShellState, path: string): number {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (name === "~") {
|
||||
currentNode = state.filesystem.getNode(session.user.home) as DirectoryNode;
|
||||
continue;
|
||||
}
|
||||
|
||||
const inode = currentNode.children[name];
|
||||
|
||||
if (!inode)
|
||||
|
||||
Reference in New Issue
Block a user