Add watch.sh and update utils.sh
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
9e9ec809fc
commit
5c893b60aa
2 changed files with 37 additions and 0 deletions
|
@ -35,10 +35,18 @@ YELLOW='\033[33m'
|
|||
# USAGE: print_header TITLE
|
||||
function print_header() {
|
||||
echo -e "\n${GREEN}########################################"
|
||||
echo -e "#"
|
||||
echo -e "# ${1}"
|
||||
echo -e "#"
|
||||
echo -e "########################################${RESET}"
|
||||
}
|
||||
|
||||
# Function to print a info message with the current time
|
||||
# USAGE: print_info MESSAGE
|
||||
function print_log() {
|
||||
echo -e "${YELLOW}[$(date "+%H:%M:%S")] ${1}${RESET}"
|
||||
}
|
||||
|
||||
# Creates the given directory in the home directory
|
||||
# USAGE: create_directory DIRECTORY
|
||||
function create_directory() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue