Suggestion: change the default prompt for the node

bellocarico

Member
Sep 17, 2022
63
5
13
I guess we all did it at least once. You think to be in the ssh session of the VM of choice where instead.... you are on the host!
An old trick to help users avoiding such mistake is to change the prompt.
So, should something along the lines of:

export PS1="\[\e[33;41m\]NODE[\h]#\[\e[m\] "

be used as the default .bashrc ?

e.g.

VM:
1663631551700.png

NODE:
1663631574514.png


Thanks
 
Last edited:
no, you can trivially do that yourself if you want?
 
I know I can do this myself I was posting here to see if this is recognised as an added value (I do) for the final product. You seem to think otherwise which is fair enough.