justjanne/powerline-go

Clear error after first not working. [WSL2]

ntaken opened this issue · 1 comments

Describe the bug
The copied command do not seems to work.

    # Uncomment the following line to automatically clear errors after showing
    # them once. This not only clears the error for powerline-go, but also for
    # everything else you run in that shell. Don't enable this if you're not
    # sure this is what you want.

    #set "?"

To Reproduce
Steps to reproduce the behavior:

  1. Uncomment #set "?" to set "?" in .bashrc

and from different shell (like powershell) restart Ubuntu

  1. wsl -terminate Ubuntu

  2. Open again Ubuntu

  3. Produce a error and press enter

  4. The errors will keep repeting till you insert a successful command.

Expected behavior
Errors should stop repeting after showing once.

Environment (please complete the following information):

  • OS: Ubuntu 20.04
  • Architecture: amd64
  • Shell: Bash
  • WSL2