How do I remove the PWD from the terminal? I'm not referring to the command but the automatic display next to my username@hostname. I would like it to work more like it does on other distros.
Thank you.
|
How do I remove the PWD from the terminal? I'm not referring to the command but the automatic display next to my username@hostname. I would like it to work more like it does on other distros. Thank you. |
|||
|
|
|
Go to your home directory and edit
Delete |
|||
|
|
The appearance of the prompt is based upon the value of the environment variable $PS1. To see it use:
You'll see something like this:
To remove your current working directory from your prompt, just remove the '\w' from the variable.
You'll get the prompt without the present working directory now. To make the effect permanent, add that line to .bashrc file. |
|||
|
|