remove date stamp from terminal alerting

This commit is contained in:
Nathaniel Landau
2021-10-27 11:17:25 -04:00
parent 7212c9b545
commit 4c1be129e7

View File

@@ -147,7 +147,11 @@ _alert_() {
reset=""
fi
printf "%s ${_color}[%7s] %s${reset}\n" "$(date +"%r")" "${_alertType}" "${_message}"
if [[ ${_alertType} == header ]]; then
printf "${_color}%s${reset}\n" "${_message}"
else
printf "${_color}[%7s] %s${reset}\n" "${_alertType}" "${_message}"
fi
}
_writeToScreen_