pry/pry — Issue #456: Auto eval system commands
Author: DArrigoni
Created: 2012-01-30 17:02:40+00:00
State: open

I'm a big fan of the `.` operator allowing me to back out to the command line. When working with complicated build scripts and buildr files it's a godsend!

However one thing that gets kind of annoying is having to evaluate my ruby to a string and then passing that along to the command. So if I have a variable _path, I would have to do something like...

.ls "#{_path}"

It would be nice to be able to have some operator that would automatically evaluate the ruby before passing it to the command line. So, I could get away with something like...

.ls !_path

Not sure how feasible this would be for complex syntax but for the simple ones, it can get a little tedious.