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

Fix $DRACULA_ARROW_ICON getting parsed as a command-line flag to print #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 31, 2023

  1. Fix $DRACULA_ARROW_ICON getting parsed as a command-line flag to `p…

    …rint`
    
    When `$DRACULA_ARROW_ICON` begins with an unescaped `-` character, it will be read as a command line flag by the `print` command. This causes the error `dracula_arrow:print:2: bad option: -> ` (for example) to get outputted on each new prompt line. This PR passes the `--` flag to `print` before passing `$DRACULA_ARROW_ICON` to ensure that `print` does not attempt to parse the arrow icon as a command-line flag.
    speelbarrow authored May 31, 2023
    Configuration menu
    Copy the full SHA
    8be04dd View commit details
    Browse the repository at this point in the history