Merge pull request #192 from axoteric/main
fix macos ascii and package manager indentation
This commit is contained in:
commit
de1d86f950
2 changed files with 3 additions and 3 deletions
|
@ -3,6 +3,6 @@
|
||||||
{YELLOW} ww OωO w
|
{YELLOW} ww OωO w
|
||||||
{RED} w w
|
{RED} w w
|
||||||
{PINK} w w
|
{PINK} w w
|
||||||
|
{MAGENTA} w w
|
||||||
{BLUE} www_-_www
|
{BLUE} www_-_www
|
||||||
|
|
||||||
|
|
|
@ -471,7 +471,7 @@ int print_info(struct configuration* config_flags, struct info* user_info) {
|
||||||
responsively_printf(print_buf, "%s%s%sSHEWW %s%s", MOVE_CURSOR, NORMAL, BOLD, NORMAL, user_info->shell);
|
responsively_printf(print_buf, "%s%s%sSHEWW %s%s", MOVE_CURSOR, NORMAL, BOLD, NORMAL, user_info->shell);
|
||||||
#if defined(__APPLE__) && !defined(__IPHONE__) // some time ago __IPHONE__ was defined as TARGET_OS_IPHONE, but it was defined also in m1 macs, so I changed it
|
#if defined(__APPLE__) && !defined(__IPHONE__) // some time ago __IPHONE__ was defined as TARGET_OS_IPHONE, but it was defined also in m1 macs, so I changed it
|
||||||
if (config_flags->show_pkgs) // print pkgs for mac os
|
if (config_flags->show_pkgs) // print pkgs for mac os
|
||||||
system("ls $(brew --cellar) | wc -l | awk -F' ' '{print \" \x1b[34mw w \x1b[0m\x1b[1mPKGS\x1b[0m \"$1 \" (brew)\"}'");
|
system("ls $(brew --cellar) | wc -l | awk -F' ' '{print \" \x1b[34m \x1b[0m\x1b[1mPKGS\x1b[0m \"$1 \" (brew)\"}'");
|
||||||
#else
|
#else
|
||||||
if (config_flags->show_pkgs) // print pkgs
|
if (config_flags->show_pkgs) // print pkgs
|
||||||
responsively_printf(print_buf, "%s%s%sPKGS %s%s%d: %s", MOVE_CURSOR, NORMAL, BOLD, NORMAL, NORMAL, user_info->pkgs, user_info->pkgman_name);
|
responsively_printf(print_buf, "%s%s%sPKGS %s%s%d: %s", MOVE_CURSOR, NORMAL, BOLD, NORMAL, NORMAL, user_info->pkgs, user_info->pkgman_name);
|
||||||
|
|
Loading…
Reference in a new issue