Skip to content
purinsu14Public

About

shsh - fast and simple shell in rust

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shotshell (shsh)

Shotshell (shsh) is a fast and simple shell written in Rust. It provides a simple yet functional command-line interface (CLI) for interacting with the operating system.

Features

  • Supports basic shell commands like cd, exit, and custom command execution.
  • Displays the current working directory.
  • Handles command errors gracefully.

Installation

To use Shotshell, you'll need to have Rust installed on your system. You can download Rust from the official website.

Once you have Rust set up, you can clone the repository and build the project:

git clone https://github.com/purinsu14/shotshell.git
cd shotshell

Then using make:

NOTE: Linux only. Currently using ~/.local/bin convention.

make install

Or using cargo:

cargo install --path .

Usage

To start Shotshell, simply run the executable, anywhere on your system:

shsh

You should see the initial prompt $>. From here, you can enter various commands:

  • cd <directory>: Change the current working directory.
  • exit: Exit the Shotshell.
  • Any other command will be executed as a subprocess.

Uninstalling

To uninstall Shotshell, run the following command:

Using make:

make uninstall

Using cargo:

cargo uninstall shotshell

This will remove the Shotshell executable from your system.

License

Shotshell is licensed under the MIT License.

About

shsh - fast and simple shell in rust

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages