The Wayback Machine - https://web.archive.org/web/20200529184614/https://github.com/topics/tmux-conf
Skip to content
#

tmux-conf

Here are 399 public repositories matching this topic...

Halfwalker
Halfwalker commented Feb 29, 2020

Change the default username color to something like blue (via variable, so it's changeable). Then, when user su's to root or logs in as root, change username color to RED. This would be a good visual warning that you might be doing something with root privs by mistake ...

So the _username function would check the euid, and if 0 set color to RED

Improve this page

Add a description, image, and links to the tmux-conf topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the tmux-conf topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.