Skip to content

Abbreviation for show-stack command? #27

@pdxwolfy

Description

@pdxwolfy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions