~tieong/zig-shell

My best attempt at making a shell in zig.

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~tieong/zig-shell
read/write
git@git.sr.ht:~tieong/zig-shell

You can also use your local clone with git send-email.

#Zig-shell

My best attempt at making a shell in zig.

Only cd is implemented for now.

Based on https://zig-by-example.github.io/shell.html

#Installation and usage

git clone https://git.sr.ht/~tieong/zig-shell
cd zig-shell
zig build
./zig-out/bin/zig-shell

#TODO

  • Autocompletion

  • Understand shortcuts such as ctrl+l to clear the screen, see the resources section.

  • Fix the stderr of externals commands such as rm, right now the errors are not displayed

#Resources