Zethra Rush Save Abandoned

The Rust Shell

Project README

Rush - The Rust Shell

Build Status

This project is no longer maintained

News

Rush is not under active development. I may continue work on it at some point but there aren't enough hours in the day.

Features

  • Single command execution
  • Persistent history
  • Pipes
  • Quote parsing
  • Evironment variables
  • Script based config
  • File name completion

Planned Features

  • File redirection (partly done)
  • Job control commands (fg, bg, etc.)
  • Full POSIX support
  • Full command completion
  • Command colorization

Posible Features

  • Windows and Mac support

Usage

  • Built on rust nightly-2017-02-21
  • Clone this repo
  • Build using cargo
  • Copy config/rushrc.sh to ~/.rushrc

Config File

Rusty uses toml to customize it's use. Here are some of the configuration options:

Prompts

[prompt]
left = "%[email protected]%H %L %R"

The characters following the % can all be used or not. Here is what they stand for:

  • %U = Current user
  • %H = Hostname
  • %L = Current Working Directory
  • %R = Whether you are root or not

They can be arranged in any order you desire. Any extra characters in the field will just be put in the prompt. Following the above example for my computer the prompt would look like:

[email protected] ~/ $

Aliases

The [alias] is required in the config file but anything underneath is optional. Below is an example of how it would look in your file in order to use them:

[alias]
gpm = "git push master"
gc = "git commit"
ls = "ls -al"

Enivronment Variables

The [env_var] is required in the config file but anything underneath is optional. Below is an example of how it would look in your file in order to use them:

[env_var]
EDITOR = "vim"

Inspiration

Rush was orininally a fork of Rusty although I've changed a lot since then. My peg grammar was largly taken from js-shell-parse.

Contributing

If you'd like to contribute to the project please submit a pull request. Help is very appreciated.

Open Source Agenda is not affiliated with "Zethra Rush" Project. README Source: zethra/rush
Stars
33
Open Issues
0
Last Commit
2 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating