Skip to content
Snippets Groups Projects
Commit 1f3f8350 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

add function cecho

parent 6fde8187
Branches
No related tags found
1 merge request!43Update localdump to classlike functions
# ======================================================================
#
# shared bash functions
#
# ======================================================================
# ----------------------------------------------------------------------
# returncodes
......@@ -49,6 +53,15 @@ function fetchrc(){
fi
}
# echo a colored text and reset color
# param string keyword to set a color - see function color() above
# param string text to show
function cecho(){
color $1
shift
echo $*
color reset
}
function showPrompt(){
color input
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment