Skip to content

Instantly share code, notes, and snippets.

@mfo
Last active December 14, 2015 07:19
Show Gist options
  • Save mfo/5049736 to your computer and use it in GitHub Desktop.
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