Skip to main content
Adapt to comments.
Source Link
146438
  • 73
  • 1
  • 8
  • 26

Look to the title of the window, or the title of the tab if you are using several tabs:

enter image description here

That won't be enough for me to avoid making mistakes 😁 – Benjamin

I was thinking about something like the window changing color somewhere. Don't even know if that's technically possible, though. – Benjamin

Assuming a worst case when you are unable to change remote's prompt, edit you mac's terminal prompt in order to make most clear if the terminal is at a client of a Mac of yours.

If you use Tmux, configure non defaults status-fg status-bg so that your Mac's local terminals use a different Tmux color than what is configured at your servers.

Look to the title of the window, or the title of the tab if you are using several tabs:

enter image description here

Look to the title of the window, or the title of the tab if you are using several tabs:

enter image description here

That won't be enough for me to avoid making mistakes 😁 – Benjamin

I was thinking about something like the window changing color somewhere. Don't even know if that's technically possible, though. – Benjamin

Assuming a worst case when you are unable to change remote's prompt, edit you mac's terminal prompt in order to make most clear if the terminal is at a client of a Mac of yours.

If you use Tmux, configure non defaults status-fg status-bg so that your Mac's local terminals use a different Tmux color than what is configured at your servers.

Source Link
146438
  • 73
  • 1
  • 8
  • 26

Look to the title of the window, or the title of the tab if you are using several tabs:

enter image description here