Skip to content
forked from ratfactor/zigish

A toy Unix shell written in Zig

License

Notifications You must be signed in to change notification settings

chrboesch/zigish

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zigish - Zig Interactive Shell

I am a real shell!…​ish

This is a minimalist toy Unix shell written in Zig.

*** Hello, I am a real shell! ***
> ls
README.adoc  build.zig  src  zig-cache
> date
Sat Jun  5 13:26:59 EDT 2021
> foo
ERROR: error.FileNotFound
>

It has almost no error checking and is otherwise unsuitable for "real work" and it never will.

I started with this tutorial: Write a Shell in C.

The comments explain it pretty well. But check out my article, Forking is Cool for the whole story.

Enjoy! :-)

About

A toy Unix shell written in Zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Zig 100.0%