Skip to content

Commit

Permalink
simple changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lazypwny751 authored Sep 12, 2022
1 parent d67c1c6 commit 6a2e57f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/bash-5.1.16/userinterface.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ userinterface:spinner:line() {
}

userinterface:output() {
local text="sample output text from ${0##*/}:${FUNCNAME}" TYPE="success"
local text="sample output text from ${0##*/}:${FUNCNAME##*:}" TYPE="success"
while [[ "${#}" -gt 0 ]] ; do
case "${1}" in
--[tT][eE][xX][tT]|-[tT])
Expand Down Expand Up @@ -125,7 +125,7 @@ userinterface:output() {
echo -e "\t${0##*/}: \033[0;34mINFO\033[0m: ${text}\033[0m"
;;
*)
echo -e "\t${0##*/}: ${FUNCNAME}: ${TYPE}: ${text}"
echo -e "\t${0##*/}: ${FUNCNAME##*:}: ${TYPE}: ${text}"
;;
esac
}
}

0 comments on commit 6a2e57f

Please sign in to comment.