10 lines
146 B
Bash
10 lines
146 B
Bash
|
success(){
|
||
|
local txtgrn=$(tput setaf 2) # Green
|
||
|
local txtwht=$(tput setaf 7) # White
|
||
|
local msg=$*;
|
||
|
echo "$txtgrn $msg $txtwht"
|
||
|
}
|
||
|
|
||
|
success $1
|
||
|
|