[+] Add color reset at end of line
This commit is contained in:
@@ -54,6 +54,7 @@ spopd () {
|
||||
# Minecraft coloring
|
||||
color() {
|
||||
tmp="$@"
|
||||
tmp="$tmp&r"
|
||||
tmp=$(echo "${tmp//&0/\033[0;30m}")
|
||||
tmp=$(echo "${tmp//&1/\033[0;34m}")
|
||||
tmp=$(echo "${tmp//&2/\033[0;32m}")
|
||||
|
||||
Reference in New Issue
Block a user