2013-03-11 39 views

回答

5

找不到任何內置的簡寫,但加入這~/.pryrc似乎這樣的伎倆:

Pry.config.commands.alias_command "@", "whereami" 

更多信息上Prys's Pry rc Wiki page

+2

嗨,我想我們要加上「 @「在即將發佈的版本中作爲」whereami「的官方別名 – horseyguy 2013-03-11 14:52:48

+0

尼斯:)我爲了一致性而編輯我的答案。 – 2013-03-12 23:40:36