-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breakout hostname determine code from color
This wasn't done before because I thought that deciding whether to display the hostname or not would be up to the themes. But I now think that it is more useful to make the hostname display work the same accross all themes, and obey the LP_HOSTNAME_ALWAYS config option. This is what _lp_hostname() now does, and now _lp_hostname_color() only colors the hostname based on the connection, and adds chroot and a "@" to it. Update the Powerline theme to use the new data function.
- Loading branch information
Showing
2 changed files
with
57 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters