Skip to content
Snippets Groups Projects

Update localdump to classlike functions

1 file
+ 14
1
Compare changes
  • Side-by-side
  • Inline
+ 14
1
# ======================================================================
#
# 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
Loading