This is my .bashrc settings for Windows Linux Subsystem
``bash parse_git_status() { status=$(git status --porcelain 2>/dev/null) if [ "$status" != "" ]; then echo "✗" fi }
export PS1="\u@\h:\w$(parse_git_branch)$(parse_git_status) $ "
and
```bash
# Git branch in prompt
parse_git_branch() {
git branch 2>/dev/null | grep \* | sed 's/\* \(.*\)/ (\1)/'
}
# Add Git info to prompt
export PS1="\u@\h:\w\$(parse_git_branch) $ "
spend some time and make it beautifull.
Caution
Back up your own settings if necessary before running this command.
curl -o ~/.bashrc https://raw.githubusercontent.com/skkylimits/.bashrc/main/.bashrc && curl -o ~/.bash_aliases https://raw.githubusercontent.com/skkylimits/.bashrc/main/.bash_aliases && curl -o ~/.bash_logout https://raw.githubusercontent.com/skkylimits/.bashrc/main/.bash_logout && echo "Settings downloaded! Restart your terminal or source ~/.bashrc"Validate your colorscheme
https://github.com/microsoft/terminal/tree/main/src/tools/ColorTool