Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/b-coimbra/sushi.rb
- Owner: b-coimbra
- License: mit
- Created: 2017-06-12T20:18:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-03T22:30:15.000Z (over 3 years ago)
- Last Synced: 2024-10-05T08:39:14.174Z (about 1 month ago)
- Topics: cmder, ruby, shell, terminal, unix
- Language: Ruby
- Homepage:
- Size: 128 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.