chore(aesthetic): update styling of user@hostname
This commit is contained in:
parent
fd16c194e6
commit
5347a9105e
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ fn main() {
|
||||||
let hostname = fallible::hostname().unwrap_or(String::from("N/A"));
|
let hostname = fallible::hostname().unwrap_or(String::from("N/A"));
|
||||||
let user = username();
|
let user = username();
|
||||||
|
|
||||||
let combined = format!("{}@{}", user.italic(), hostname.italic());
|
let combined = format!("{}@{}", user, hostname);
|
||||||
|
|
||||||
let pretty = distro();
|
let pretty = distro();
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ fn main() {
|
||||||
|
|
||||||
println!();
|
println!();
|
||||||
if !args.ascii_only {
|
if !args.ascii_only {
|
||||||
println!("{: <13}{}", "", combined);
|
println!("{: <13}{}", "", combined.bold());
|
||||||
cpu_arch(&args);
|
cpu_arch(&args);
|
||||||
display_kernel(&args);
|
display_kernel(&args);
|
||||||
println!("{:>8} {:>6} {}", ascii[0], "OS".red().bold(), pretty);
|
println!("{:>8} {:>6} {}", ascii[0], "OS".red().bold(), pretty);
|
||||||
|
|
Loading…
Reference in a new issue