Dush

Engineered
For The Shell

Dush is the custom terminal shell that lets you wield the full power of Go. Built for learning, optimized for customization.

Install

Available in the
terminal

dush
~ dush dush> echo "Hello from Dush" Hello from Dush dush> ls -l -rw-r--r-- 1 user group 1234 Jan 12 10:00 main.go -rw-r--r-- 1 user group 567 Jan 12 10:00 go.mod dush> help Available commands: cd Change directory exit Exit the shell help Show this help message ... Any system command dush> _
~_

Details

About the Project

01

Overview

Dush (Dumb Shell) is a custom terminal shell written in Go, intended as a Bash alternative and a learning platform for shell mechanics.

02

Design Philosophy

Dush follows a minimalist approach, focusing on core shell functionalities without the bloat. It's designed to be understandable, hackable, and a great starting point for anyone interested in how shells work under the hood.

03

Key Features

  • Command Execution: Run standard system commands seamlessly.
  • Built-in Commands: Includes essential built-ins like cd, exit, and help.
  • Pipeline Support: Basic support for piping commands.
  • Go-Powered: Leverages the performance and concurrency features of Go.
04

In-Progress Features

  • Command History: Quick access to your previous commands for maximum efficiency.
  • I/O Redirection: Support for input/output redirection (>, >>, <).
  • Environment Management: Control over environment variables.
  • Customizable Prompt: A dynamic and informative shell prompt.

Platform Support

Windows
Linux
macOS

Install Command

go install github.com/fezcode/dush@latest