Clear error after first not working. [WSL2]
ntaken opened this issue · 1 comments
ntaken commented
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:
- Uncomment #set "?" to set "?" in .bashrc
and from different shell (like powershell) restart Ubuntu
-
wsl -terminate Ubuntu
-
Open again Ubuntu
-
Produce a error and press enter
-
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