Merge pull request 'update prompt colors' (#11) from change_color into master

Reviewed-on: #11
This commit is contained in:
Chris Cromer 2021-06-27 15:45:21 -04:00
commit f8e28bd1f0

View File

@ -83,7 +83,7 @@ void print_input_line() {
char *username = get_username(); char *username = get_username();
char *hostname = get_hostname(); char *hostname = get_hostname();
char *cwd = get_working_directory(); char *cwd = get_working_directory();
printf(BRIGHT_CYAN "%s" MAGENTA "@" RED "%s" MAGENTA ":" BLUE "%s" MAGENTA "$ " RESET, username, hostname, cwd); printf(BRIGHT_GREEN "%s" RESET BRIGHT_MAGENTA "@" RESET BRIGHT_RED "%s" RESET BRIGHT_MAGENTA ":" RESET BRIGHT_BLUE "%s" RESET BRIGHT_MAGENTA "$ " RESET, username, hostname, cwd);
free(hostname); free(hostname);
free(cwd); free(cwd);
} }