Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/negativetwelve/dotfiles-v1
Configs for vim, git, tmux, zsh, and everything else.
https://github.com/negativetwelve/dotfiles-v1
Last synced: 30 days ago
JSON representation
Configs for vim, git, tmux, zsh, and everything else.
- Host: GitHub
- URL: https://github.com/negativetwelve/dotfiles-v1
- Owner: negativetwelve
- License: bsd-2-clause
- Created: 2014-04-14T01:47:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-30T08:58:16.000Z (over 7 years ago)
- Last Synced: 2024-10-06T05:36:04.876Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 2.35 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README-pry.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
### Install the gem
```bash
gem install jazz_hands
```[Jazz hands](https://github.com/nixme/jazz_hands) is a nice bundling of all pry-related gems.
### Use pry
* as irb: `pry`
* as rails console: `script/console --irb=pry`
* as a debugger: `require 'pry'; binding.pry` in your code (or just type `pry!` to make vim do it)### Pry Customizations:
* `clear` command to clear screen
* `sql` command to execute something (within a rails console)
* `c` (continue) `n` (next) `s` (step) commands for debugging using pry-nav
* all objects displayed in readable format (colorized, sorted hash keys) - via awesome_print
* a few color modifications to make it more useable
* type `help` to see all the commands