This commit is contained in:
pika 2025-05-18 18:53:57 +02:00
parent 9d7977771a
commit c363d6fa93

View file

@ -70,23 +70,23 @@ STRIKE=$'\e[9m' # Strikethrough
NC=$'\e[0m' # Reset all styles/colors NC=$'\e[0m' # Reset all styles/colors
echo_error() { echo_error() {
echo "${BOLD}${RED}${UNDERLINE}ERROR:${NC}${RED} $1 ${NC}" >&2 echo "${BOLD}${RED}${UNDERLINE}ERROR:${NC}${BRIGHT_RED} $1 ${NC}" >&2
} }
echo_pkg() { echo_pkg() {
echo "${BOLD}${RED}PGK:${NC}${BRIGHT_YELLOW} $1 ${NC}" echo "${BOLD}${RED}PGK:${NC}${YELLOW} $1 ${NC}"
} }
echo_info() { echo_info() {
echo "${BOLD}${BLUE}INFO:${NC}${BLUE} $1 ${NC}" echo "${BOLD}${BRIGHT_BLUE}INFO:${NC}${BLUE} $1 ${NC}"
} }
echo_warning() { echo_warning() {
echo "${BOLD}${YELLOW}WARNING: ${NC}${YELLOW} $1 ${NC}" echo "${BOLD}${BRIGHT_YELLWO}WARNING:${NC}${YELLOW} $1 ${NC}"
} }
echo_note() { echo_note() {
echo "${BOLD}${GREEN}NOTE: ${NC}${GREEN} $1 ${NC}" echo "${BOLD}${GREEN}NOTE:${NC}${BRIGHT_GREEN} $1 ${NC}"
} }
# ─< Check if the given command exists silently >───────────────────────────────────────── # ─< Check if the given command exists silently >─────────────────────────────────────────