History feature for cap shell
MIT License
Capistrano plugin that provides the command history feature for Capistrano Shell.
Add this line to your application's Gemfile:
gem 'capistrano_shell_history', :require => false
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano_shell_history
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')
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)