Dim the hostname part of the user@host
This commit is contained in:
parent
c2df8fc769
commit
dad16e7fd0
1 changed files with 2 additions and 1 deletions
|
@ -249,6 +249,7 @@ our %THEME = ();
|
||||||
our %STYLES = (
|
our %STYLES = (
|
||||||
none => '' ,
|
none => '' ,
|
||||||
b => 'bold' ,
|
b => 'bold' ,
|
||||||
|
d => 'dim' ,
|
||||||
u => 'smul' ,
|
u => 'smul' ,
|
||||||
i => 'sitm' ,
|
i => 'sitm' ,
|
||||||
bu => 'bold,smul' ,
|
bu => 'bold,smul' ,
|
||||||
|
@ -826,7 +827,7 @@ sub render_userhost
|
||||||
push @out , ( getpwuid( $< ) || '(?)' );
|
push @out , ( getpwuid( $< ) || '(?)' );
|
||||||
}
|
}
|
||||||
if ( $hn == 1 || ( $hn == 2 && $is_remote ) ) {
|
if ( $hn == 1 || ( $hn == 2 && $is_remote ) ) {
|
||||||
push @out , { fg => themed 'uh_host_fg' };
|
push @out , { fg => themed 'uh_host_fg', style => 'd' };
|
||||||
push @out , '@' if @out;
|
push @out , '@' if @out;
|
||||||
push @out , hostname;
|
push @out , hostname;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue