Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abbreviation for show-stack command? #27

Closed
pdxwolfy opened this issue Jan 14, 2016 · 3 comments
Closed

Abbreviation for show-stack command? #27

pdxwolfy opened this issue Jan 14, 2016 · 3 comments

Comments

@pdxwolfy
Copy link

pdxwolfy commented Jan 14, 2016

I'm trying to create an abbreviation for the show-stack command, but it is unfortunately not woking:

  Pry.commands.alias_command "bt", "show-stack"

which yields:

1] pry(main)> bt
NameError: undefined local variable or method `bt' for main:Object
from (pry):1:in `get_scores'

when I try to use it. Any suggestions on how to accomplish this? TIA.

@joallard
Copy link
Collaborator

Interesting! I wonder what keyword would work best for most people

@pdxwolfy
Copy link
Author

I got bt from the perl debugger where it stands for backtrace I think.

@joallard
Copy link
Collaborator

Track #50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants