Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 745 Bytes

File metadata and controls

26 lines (17 loc) · 745 Bytes

Shell written in Go

Why Reinvent the Wheel?

This is a fun little project for me to get more familiar with Go, its Stdlib and idiomatic use. So why the heck not?

More on the background of the project in this blog post.

Built and Run

go build -o shell cmd/myshell/*.go && ./shell

Supported Features

  • Shell builtins: echo, type, pwd, cd
  • File System navigation
  • File descriptor redirection for stdout and stderr with [fd]>[|] and [fd]>>
  • SIGINT handling for cancelling a currently running process or not yet entered input on Ctrl+C
  • Autocomplete with Tab for shell builtins and executables on PATH
  • Pipes

Next Up:

  • Flashy interface