Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.51 KB

File metadata and controls

50 lines (38 loc) · 1.51 KB

progress-banner

MiShell is a very simple and dumb shell. It has a few builtins commands and can run you installed cli tools... that's all. I plan to improve it later (if I find time).

demo


Getting started:

Download the executable and run it in your terminal like this: release

 ./miShell

Build from source:

  1. Clone the repo and cd into the src/ dir:
git clone https://github.com/Definitly-Not-Me/MiShell.git && cd MiShell/src/
  1. My Cool nixers and chad C devs will know how to simply compile it with:
## For nix users:
nix-shell --run "build"

## For others:
gcc main.c utils/*.c -I. -lreadline -o miShell

Warning

GNU readline must be installed (No worry, you probably already have it).

  1. Run:
./miShell

Sidenote

Dunno if it's going to help someone but there's a shell.nix file in case you want to tinker further with it.


Thanks:

Special thanks to codecrafters.io for their amazing guide and test suite. Also thanks to the stackoverflow community, the C developer man-pages are not that easy to understand without them. And finally, huge thanks to the gnu project for the compiler and the standard library.