Minimalist, customizable shell with syntax highlighting
Find a file
2024-02-08 12:40:16 +00:00
.gitignore gitignore and makefile fix 2024-02-06 18:56:42 +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 fix waitpid 2024-02-08 12:31:57 +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 more defensive code 2024-02-08 12:32:31 +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
LICENSE license and man page 2024-02-06 18:56:24 +00:00
Makefile gitignore and makefile fix 2024-02-06 18:56:42 +00:00
README.md update features and todo 2024-02-08 12:40:16 +00:00
rush.1 license and man page 2024-02-06 18:56:24 +00:00
rush.c able to navigate by left and right arrow keys, and insert in middle of command 2024-02-08 12:33:42 +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.

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