Merge pull request 'update prompt colors' (#11) from change_color into master
Reviewed-on: #11
This commit is contained in:
commit
f8e28bd1f0
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user