You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
# powerline-gofunction_update_ps1_powerline_go() {
#PS1="$($GOPATH/bin/powerline-go -error $? -jobs $(jobs -p | wc -l))"
PS1="$(powerline-go \ -error $? \ -jobs $(jobs -p | wc -l) \ -numeric-exit-codes \ -hostname-only-if-ssh \ -shell-var PROMPT_SYMBOLS \ -modules "time,venv,user,host,ssh,cwd,perms,jobs,newline,shell-var,git,hg,exit,direnv,docker,docker-context,dotenv,root")"# 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"?"
}
if [ "$TERM"!="linux" ] && [ -f"$GOPATH/bin/powerline-go" ];then
PROMPT_COMMAND="_update_ps1_powerline_go; $PROMPT_COMMAND"fi
Describe the bug
The copied command do not seems to work.
To Reproduce
Steps to reproduce the behavior:
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):
The text was updated successfully, but these errors were encountered: