GithubHelp home page GithubHelp logo

sushi.rb's Introduction

sushi.rb

sushi.rb

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

Inspired by shirt

Usage

  • Clone this repo, or download it into a directory of your choice.
  • Using the rake gem, 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:\<path-to-executable>\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)

Building

  • Install the 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

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

Preview

preview

Contributing

Bug fixes and pull requests are welcome.

sushi.rb's People

Contributors

b-coimbra avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

kaxbx wade-welles

sushi.rb's Issues

Backspace deletes prompt

Prompt is erased when space + backspace key is pressed. Ruby's readline module can't handle unicode characters.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.