I am trying to set up the current working directory in .bashrc. I added PS1=‘\u@\h:\w$\n’. However, it still shows the cursor’s location: C:/Users/user/AppData/Local/Programs/cursor.
I checked it at git bash and it works fine.
How can I fix it in the cursor, so that instead of C:/Users/user/AppData/Local/Programs/cursor it will show the current working directory?
Thanks.