I am new to programming and have this simple question about GitBash on my Windows 11 machine. I would like to see the $
only on prompt. How do I modify that so it looks simple and clean?
My current bash prompt looks like:
mbaaq@AsusVivoBook:~/OneDrive/Desktop$
You can set the prompt to '$ ' by typing PS1='$ '
, or to set it that way on login, echo "PS1='$ '" >> ~/.bashrc && . ~/.bashrc
. Which adds an entry to the bashrc file, which gets loaded when bash starts.