Files
oh-my-bash/themes/nwinkler_random_colors
Toan Nguyen e65c390bfa Improve oh-my-bash functionality
* Implement aliases, completion in oh-my-bash
 * Added default themes from Bash-it
 * Fixed few issues
2017-10-10 18:07:01 +07:00
..
2017-10-10 18:07:01 +07:00

Nwinkler Random Color Theme

Description

The Nwinkler Random Color Theme is based on the nwinkler theme, but it randomizes the colors for:

  • time
  • username
  • hostname
  • path

The random colors are chosen the first time this theme is used and saved to the ~/.nwinkler_random_colors file. So, the next time you connect to the same machine, you will get the same colors.

To force new random colors to be selected, run the command:

randomize_nwinkler

Screenshot

Here it is in action:

alt text

Usage Scenario

This theme is especially useful when connecting to many different machines and switching between them often. Yes, the hostname is present in the prompt. But I argue that it's a lot faster to get a "feel" of what machine you are currently on because of the custom colors on that machine's prompt than by reading the hostname.