I'm trying to revive my knowledge of the command line interface, but can't remember how to change to the home directory. I'm actually trying to learn Git, so the help documentation assume I remember all the commands. I remember
Eeew. Well, that's annoying. I do hope you find a terminal program that reads as it prints.
As mentioned above you can customize the prompt; if you edit a file named ~/.bashrc (i.e. named .bashrc in your home directory) you can add a line like this:
PS1='\\w '
That'll change your prompt to just your current path, with a space after it. Replace the w with a capital W if you want it to only have the last element of the path (i.e. the folder you are in, rather than the whole path to that folder).
For more on bash prompt changing, page looked like it might be helpful and laid out well:
Thank you for the tips. I did find this, which identifies the extra letters in the bash prompt Using bash shell for Windows https://www.logicbig.com/tutorials/misc/git/git-bash-shell.html What is Git Bash emulation? MINGW64 is short for Minimalist GNU for Windows 64 bits. It provides open source programming tool set for windows system.
no subject
Date: 2020-09-25 02:55 am (UTC)As mentioned above you can customize the prompt; if you edit a file named ~/.bashrc (i.e. named .bashrc in your home directory) you can add a line like this:
PS1='\\w '
That'll change your prompt to just your current path, with a space after it. Replace the w with a capital W if you want it to only have the last element of the path (i.e. the folder you are in, rather than the whole path to that folder).
For more on bash prompt changing, page looked like it might be helpful and laid out well:
https://linuxconfig.org/bash-prompt-basics
no subject
Date: 2020-09-25 10:45 am (UTC)I did find this, which identifies the extra letters in the bash prompt
Using bash shell for Windows
https://www.logicbig.com/tutorials/misc/git/git-bash-shell.html
What is Git Bash emulation?
MINGW64 is short for Minimalist GNU for Windows 64 bits. It provides open source programming tool set for windows system.
Thanks again!