This is a collection of scripts and command line utilities for working in a command line and ruby environment.
This is a work in progress. More scripts may be added as needed. Please feel free to add a feature and issue a pull request.
Install it yourself as:
$ gem install little_ruby_scripts
This library provides three functions.
galiases
ghistory
imeant
- galiases will search through a .zhistory file and return a string of alias suggestions
- ghistory will search though a .zhistory hifle and return a hash of the
following format
{command: 'command_name', alias: 'suggested_alias', count:'number_of_times_in_history'} - imeant will search through .zhistory for the last used 'command' and return what you probably meant
- Fork it ( https://github.com/whatisinternet/little_ruby_scripts/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request