Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/b-coimbra/sushi.rb

sushi.rb (Simple Unix SHell In RuBy)
https://github.com/b-coimbra/sushi.rb

cmder ruby shell terminal unix

Last synced: 29 days ago
JSON representation

sushi.rb (Simple Unix SHell In RuBy)

Awesome Lists containing this project

README

        

# sushi.rb

![sushi.rb](https://i.imgur.com/ZULp4u0.png)

sushi.rb (Simple Unix SHell In RuBy) is a custom prompt with unix-like features written in Ruby.

Inspired by [shirt](https://github.com/jstorimer/shirt)

### Usage

- Clone this repo, or download it into a directory of your choice.
- Using the [rake gem](https://github.com/ruby/rake), type `$ rake run` to start the shell
- Or either run `$ ruby src/sushi.rb` or `run.cmd`
- Type `cmds` or `help` to get a full list of the commands and aliases.
- To integrate with Cmder (or ConEmu), open the settings and go to `Startup > Tasks` and paste the location to `C:\\shell.exe`

### Dependencies
- There are no dependencies for the binaries, except having a patched font that supports unicode characters if you care how the prompt looks. (see [Powerline fonts](https://github.com/powerline/fonts))

### Building

- Install the [OCRA](https://github.com/larsch/ocra) gem with `$ gem install ocra`
- Type `$ rake build` in the root directory to build an executable file.
- The executable file can be found in the `bin` folder.

### To do
- [x] Add command-line extensions (import utilities from cygwin and the native shell)
- [ ] Integrate with Powershell
- [x] Command stacking (eg `cd documents && ls`)
- [x] Directory and command autocompletion with TAB
- [x] Command history with Up Arrow
- [x] Spellchecking
- [x] Pipe operator
- [x] Shell scripting with interactive ruby / python
- [ ] Refactoring

### Preview

![preview](https://i.imgur.com/tyjkXeO.gif)

### Contributing
Bug fixes and pull requests are welcome.