Minimalist, customizable shell written in C99 with syntax highlighting and no dependency
Find a file
2024-02-02 16:52:21 +00:00
.gitignore gitignore to remove executable 2024-01-31 01:10:41 +00:00
color.c handle signals, rename functions, history command, qol features, fix highlight highlighting full command 2024-02-01 19:02:30 +00:00
color.h Initial commit 2024-01-31 01:02:32 +00:00
commands.c export and source command 2024-02-02 16:52:21 +00:00
commands.h handle signals, rename functions, history command, qol features, fix highlight highlighting full command 2024-02-01 19:02:30 +00:00
constants.h handle signals, rename functions, history command, qol features, fix highlight highlighting full command 2024-02-01 19:02:30 +00:00
history.c satisfy linter 2024-02-01 19:18:52 +00:00
history.h handle signals, rename functions, history command, qol features, fix highlight highlighting full command 2024-02-01 19:02:30 +00:00
Makefile handle signals, rename functions, history command, qol features, fix highlight highlighting full command 2024-02-01 19:02:30 +00:00
README.md export and source command 2024-02-02 16:52:21 +00:00
rush.c export and source command 2024-02-02 16:52:21 +00:00
rush.h export and source command 2024-02-02 16:52:21 +00:00

rush

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

Dependencies

  • gcc

Building

$ make

Usage

$ ./rush

Features

  • 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

Built in commands

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

Todo Features

  • Pipe
  • stdin, stdout, stderr redirect
  • background jobs
  • editing using left and right arrow keys
  • tab completion

Credits