To install RSH right now you just have to gem install rsh
.
RSH is a UNIX and SH compliant shell built in Ruby. It features all the traditional Shell commands (basically anything in the $PATH
) and evaluating ruby code:
eval puts "some ruby code can be put here"
This is in alpha stage, it might contain bugs (it was built in a few hours :P)
It's simple, get on Terminal, cd
to he directory and run ruby s.rb
. Your terminal screen will clear and the RSH prompt will appear.
If you didn't enabled debug mode just use quit
. Else just use Ctrl-C.
If this doesn't works, open a new window and use killall ruby
. That should kill it.
- It doesn't needs any gems for now
- It uses Colorize by fazibear but slighty modified for bright (bold) letters.-
- It has a little config file (
.rsh
) in the script directory. It contains the version and the state of debug mode. (Debug mode shows the command and the arguments on every enter and makes it so you can Ctrl-C and quit it.) - It has been only tested on:
- Mac OS X Lion 10.7.3 and Ruby 1.9.3-p125
- Fedora Core 16 and Ruby 1.9.3-p125
rsh - RSH is a UNIX and SH compliant shell built in Ruby
Copyright (C) 2012 Pablo Merino
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.