Skip to content

Instantly share code, notes, and snippets.

@mfo
Last active December 14, 2015 07:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mfo/5049736 to your computer and use it in GitHub Desktop.
When using pry-cooline (https://github.com/pry/pry-coolline), enable to suspend the REPL by hitting C-z. Use `fg` to bring it back to the front
# $HOME/.config/coolline/coolline.rb, see https://github.com/Mon-Ouie/coolline#configuration
Coolline.bind "\C-z" do |cool|
`kill -s TSTP #{Process.pid}`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment