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
Now I see that the Git bash interface does include the pwd in the prompt, it just has an alphanumeric string before it includes the directory. Also, the Git bash interface doesn't read results to me like the Windows command prompt interface does, so I have to switch cursors and then locate the message, read it with the Jaws cursor, then switch back to the main cursor to type in a command. I'm sure some blind geeks somewhere have an add-on or a script that improves the accessibility for screen readers, so I'm off to try to find it.
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-24 03:40 pm (UTC)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!