90s/README.md
2024-02-08 19:47:44 +00:00

1.3 KiB

rush

rush is a minimalistic shell for Unix systems written in C.

  • Disclaimer: This project is for me to learn to write Unix syscalls, code might be inefficient, feel free to point out the mistakes and open a issue for that!

Preview

Valid command Invalid command

Dependencies

  • gcc

Building

$ make

Usage

$ ./rush

Features

  • No dependencies except a compiler
  • Showing current time and directory with custom color
  • Syntax highlighting on valid commands using ANSI colors
  • History navigation using up and down keys with history command
  • Built in commands
  • Export environment variable
  • Source commands from a file
  • Editing using left and right arrow keys

Built in commands

  • cd
  • help
  • exit
  • history
  • export
  • source

Todo Features

  • splits commands based on pipes and whitespaces
  • stdin, stdout, stderr redirect
  • background jobs
  • tab completion
  • Recalling history through ! & ~ !-

Credits