Skip to content

Conversation

@PrachiJha-404
Copy link
Collaborator

###Summary

Adds support for the following shell commands:

  • clear: Clears the screen
  • ls: Lists available commands
  • history: Prints previous inputs from the current session

###Implementation Details

  • Added cmdClear, cmdLs, and cmdHistory functions
  • Added history and history_count in the shell struct
  • Added constant MAX_HISTORY

###Note

  • Most of these are dummy functions, the rest of the implementations will be done after adding a filesystem.
  • Minor updates were made to build.zig and .gitignore for local environment, these should not be pulled in the main repository

@PrachiJha-404 PrachiJha-404 force-pushed the feat/shell-add-commands branch from a037d73 to 3518d3e Compare June 24, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants