Fügen Sie den Zweig hinzu, um Ubuntu WSL zu fordern
# Add to etc/bash.bashrc or whatever yours is called.
# Resulting prompt:
# <user> @ <system> ~/<directory> (<branch>)
# └─ # ▶
export PS1='\[\033[0;32m\]\[\033[0m\033[0;32m\]\u\[\033[0;36m\] @ \[\033[0;36m\]\h \w\[\033[0;32m\]$(__git_ps1)\n\[\033[0;32m\]└─\[\033[0m\033[0;32m\] \$\[\033[0m\033[0;32m\] ▶\[\033[0m\] '
Agrius