For MobaXTerm on windows it defaults to showing date and time on every line, I can't seem to find the setting to disable this - does anyone know?
Asked
Active
Viewed 2,115 times
1 Answers
1
Please, use classic .bashrc file mechanism:
- Create or open ~/.bashrc.perso,
- Change or add the entry 'PS1=' with your desired value see for example the following web site to select your selectors "https://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html" E.g. PS1="\u>" (no more that PS1="..." in the text line) to have only your login plus the '>' character as your new prompt,
- Save the file and exit it,
- Create a new tab, you can see that your new prompt is as desired.
Or simply, execute the line PS1="..." (E.g. PS1="[\e[35m]\w[\e[0m] [\e[36m][\u.\h][\e[0m] [\e(0]b[\e(B]") in each terminal you want a specific prompt.

g910
- 96
- 3