On Sat, December 9, 2017 3:44 pm, Theo Buehler wrote:
> This was discussed in a smaller circle and has been in snaps for two
> days, but I'd like to show this to a wider audience.
>
> Theo asked me to make sure that all our shells print a prompt including
> the hostname by default. The reasoning is roughly as follows:
>
> With tmux, ssh and vmd, we tend to open shells on many different hosts
> simultaneously and the default prompts '$ ' and '# ' for {,k}sh as well
> as '% ' and '# ' for csh become dangerous: it's very easy to issue a
> command on the wrong host.
>
+1 for this. some of my tmux panes + PS1 are already customized to avoid
such mistakes. but once issued "reboot" just before leaving office - sadly
it was an SSH to the BGP router, not my machine.
cheers.
x9p