Dot Files
Pull request Compare This branch is 3 commits ahead, 6 commits behind achamian:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
site-functions
zsh/Completion
README.markdown
gitconfig
irbrc
zshrc

README.markdown

My irbrc and zshrc.

Works on Ubuntu 10.10. Have not tested on anything else.

Forked from Niranjan's dotfiles. https://github.com/achamian/dotfiles

.irbrc from irbrc by Iain Hecker, http://iain.nl

.zshrc mostly from https://github.com/jcorbin/zsh-git/tree

.irbrc Features

  • pm : print interesting methods (excludes default Object methods) eg: pm Math

  • ap : awesome print. prettier pp. eg: ap HASH

  • time : method to time/benchmark function calls. eg: time { sleep 2 }

  • interactive_editor: use a full-blown editor to write, exit, and get it 'eval'd in the irb session. The content in the editor is persiststent across calls. You can even save it. Type "vim" or "mate" inside irb to start interactive_editor.

Does autocomplete (type Math. and press TAB) and reverse search (ctrl-r). The command history is persistent across sessions.

There is always a HASH and ARRAY defined. Good for playing with dummy stuff.

zshrc Features

Shows current git repo details. I removed some information which I found too verbose. You can get the clean zshrc from jcorbin's actual repo.

My vimrc is at https://github.com/jasim/vim-fu.