Fix (mostly Debian-based) not using $nc color at all

This commit is contained in:
Dawid Potocki
2019-01-14 15:01:47 +13:00
parent e78bb00bfc
commit 900d5813b6
11 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ c1="${reset}${red}" # second color
cat <<EOF
${c0} _____ ${lc}${USER}${ic}@${lc}${host}${reset}
${c0} _____ ${nc}${USER}${ic}@${nc}${host}${reset}
${c0} / __ \\ ${lc}OS: ${ic}${os}${reset}
${c0} | / | ${lc}KERNEL: ${ic}${kernel}${reset}
${c0} | ${c1}\\___- ${lc}UPTIME: ${ic}${uptime}${reset}
+1 -1
View File
@@ -54,7 +54,7 @@ c1="${reset}${white}" # second color
cat <<EOF
${c1} _______ ${lc}${USER}${ic}@${lc}${host}${reset}
${c1} _______ ${nc}${USER}${ic}@${nc}${host}${reset}
${c1} / ${c0}____ ${c1}\\ ${lc}OS: ${ic}${os}${reset}
${c1} / ${c0}| / /${c1}\\ ${lc}KERNEL: ${ic}${kernel}${reset}
${c1} |${c0}__\\ / /${c1} | ${lc}UPTIME: ${ic}${uptime}${reset}
+1 -1
View File
@@ -54,7 +54,7 @@ c1="${reset}${bold}${white}" # second color
cat <<EOF
${c0} /\\ ${lc}${USER}${ic}@${lc}${host}${reset}
${c0} /\\ ${nc}${USER}${ic}@${nc}${host}${reset}
${c0} / \\ ${lc}OS: ${ic}${os}${reset}
${c0} / ${c1}/ ${c0}/ ${lc}KERNEL: ${ic}${kernel}${reset}
${c0} > ${c1}/ ${c0}/ ${lc}UPTIME: ${ic}${uptime}${reset}
+1 -1
View File
@@ -54,7 +54,7 @@ c1="${reset}${bold}${white}" # second color
cat <<EOF
${c0} ___________ ${lc}${USER}${ic}@${lc}${host}${reset}
${c0} ___________ ${nc}${USER}${ic}@${nc}${host}${reset}
${c0} |_ \\ ${lc}OS: ${ic}${os}${reset}
${c0} | ${c1}| _____ ${c0}| ${lc}KERNEL: ${ic}${kernel}${reset}
${c0} | ${c1}| | | | ${c0}| ${lc}UPTIME: ${ic}${uptime}${reset}
+1 -1
View File
@@ -53,7 +53,7 @@ c0="${reset}${bold}${white}" # first color
cat <<EOF
${c0} \\\\ / ${lc}${USER}${ic}@${lc}${host}${reset}
${c0} \\\\ / ${nc}${USER}${ic}@${nc}${host}${reset}
${c0} \\\\/ ${lc}OS: ${ic}${os}${reset}
${c0} \\\\ ${lc}KERNEL: ${ic}${kernel}${reset}
${c0} /\\/ \\\\ ${lc}UPTIME: ${ic}${uptime}${reset}
+1 -1
View File
@@ -54,7 +54,7 @@ c1="${reset}${bold}${blue}" # second color
sed 's/\\/\\\\/g' <<EOF
${c0} \\ ${c1}\\ // ${nc}${USER}${ic}@${rc}${nc}${host}${reset}
${c0} \\ ${c1}\\ // ${nc}${USER}${ic}@${nc}${host}${reset}
${c0} ==\\___${c1}\\/ ${c0}// ${lc}OS: ${ic}${os}${reset}
${c1} // \\${c0}// ${lc}KERNEL: ${ic}${kernel}${reset}
${c1} ==// ${c0}//== ${lc}UPTIME: ${ic}${uptime}${reset}
+3 -3
View File
@@ -53,11 +53,11 @@ c0="${reset}${bold}${cyan}" # first color
cat <<EOF
${c0} ______
${c0} \\ _ \\ __ ${lc}${USER}${ic}@${lc}${host}${reset}
${c0} \\ _ \\ __ ${nc}${USER}${ic}@${nc}${host}${reset}
${c0} \\ \\ \\ \\ / / ${lc}OS: ${ic}${os}${reset}
${c0} \\ \\_\\ \\ / / ${lc}KERNEL: ${ic}${kernel}${reset}
${c0} \\ \\_\\ \\ / / ${lc}KERNEL: ${ic}${kernel}${reset}
${c0} \\ ___\\ /_/ ${lc}UPTIME: ${ic}${uptime}${reset}
${c0} \\ \\ _ ${lc}PACKAGES: ${ic}${packages}${reset}
${c0} \\ \\ _ ${lc}PACKAGES: ${ic}${packages}${reset}
${c0} __\\_\\__(_)_ ${lc}SHELL: ${ic}${shell}${reset}
${c0} (___________) ${lc}${envtype} ${ic}${WM}${reset}
+1 -1
View File
@@ -53,7 +53,7 @@ c0="${reset}${bold}${white}" # first color
cat <<EOF
${c0} _____________ ${lc}${USER}${ic}@${lc}${host}${reset}
${c0} _____________ ${nc}${USER}${ic}@${nc}${host}${reset}
${c0} | _________ | ${lc}OS: ${ic}${os}${reset}
${c0} | | | | ${lc}KERNEL: ${ic}${kernel}${reset}
${c0} | | | | ${lc}UPTIME: ${ic}${uptime}${reset}
+1 -1
View File
@@ -54,7 +54,7 @@ c1="${reset}${bold}${red}" # second color
cat <<EOF
${c0} __ __ ${lc}${USER}${ic}@${lc}${host}${reset}
${c0} __ __ ${nc}${USER}${ic}@${nc}${host}${reset}
${c0} (_\\)(/_) ${lc}OS: ${ic}${os}${reset}
${c1} (_(__)_) ${lc}KERNEL: ${ic}${kernel}${reset}
${c1} (_(_)(_)_) ${lc}UPTIME: ${ic}${uptime}${reset}
+1 -1
View File
@@ -53,7 +53,7 @@ c0="${reset}${bold}${yellow}" # first color
cat <<EOF
${c0} _ ${lc}${USER}${ic}@${lc}${host}${reset}
${c0} _ ${nc}${USER}${ic}@${nc}${host}${reset}
${c0} ---(_) ${lc}OS: ${ic}${os}${reset}
${c0} _/ --- \\ ${lc}KERNEL: ${ic}${kernel}${reset}
${c0} (_) | | ${lc}UPTIME: ${ic}${uptime}${reset}
+1 -1
View File
@@ -53,7 +53,7 @@ c0="${reset}${bold}${yellow}" # first color
cat <<EOF
${c0} _____ ____
${c0} | | | | ${lc}${USER}${ic}@${lc}${host}${reset}
${c0} | | | | ${nc}${USER}${ic}@${nc}${host}${reset}
${c0} | | | | ${lc}OS: ${ic}${os}${reset}
${c0} | | | | ${lc}KERNEL: ${ic}${kernel}${reset}
${c0} | | |____| ${lc}UPTIME: ${ic}${uptime}${reset}