capistrano_shell_history
Capistrano plugin that provides the command history feature for Capistrano Shell.
Installation
Add this line to your application's Gemfile:
gem 'capistrano_shell_history', :require => falseAnd then execute:
$ bundleOr install it yourself as:
$ gem install capistrano_shell_historyUsage
Add this line to your application's Capfile.
require 'capistrano_shell_history'Or create ~/.caprc with the following
require 'capistrano_shell_history'The history will be stored in .cap_shell_hisotory in your home directory.
You can configure history file by setting :shell_history variable.
set :shell_history, File.expand_path('~/the_new_history_file')Contributing
- Fork it
- 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 new Pull Request