diff --git a/main.go b/main.go index f7e0727..e057e25 100644 --- a/main.go +++ b/main.go @@ -110,11 +110,12 @@ func main() { user := GetUser() hostname := GetHostname() + ansiColor := GetAnsiColor() fmt.Printf("%v@%v\n", user, hostname) - fmt.Printf("\033[%vm%v\033[0m\n", GetAnsiColor(), GenBreaker(user, hostname)) - fmt.Printf("OS:\t%v\n", GetOsInfo()) - fmt.Printf("KERNEL:\t%v", GetKernelVersion()) - fmt.Printf("SHELL:\t%v\n", GetShell()) - fmt.Printf("UPTIME:\t%v\n", GetUptime()) + fmt.Printf("\033[%vm%v\033[0m\n", ansiColor, GenBreaker(user, hostname)) + fmt.Printf("\033[%vmOS\033[0m:\t%v\n", ansiColor, GetOsInfo()) + fmt.Printf("\033[%vmKERNEL\033[0m:\t%v", ansiColor, GetKernelVersion()) + fmt.Printf("\033[%vmSHELL\033[0m:\t%v\n", ansiColor, GetShell()) + fmt.Printf("\033[%vmUPTIME\033[0m:\t%v\n", ansiColor, GetUptime()) }