Remove ex function

This commit is contained in:
Michael De Roover 2020-08-14 19:28:36 +02:00
parent fe071e82a6
commit 731c9fd800
Signed by: vim
GPG Key ID: 075496E232CE04CB
1 changed files with 1 additions and 5 deletions

6
cv
View File

@ -5,7 +5,7 @@ w=14
dfmt="+%Y-%m-%d"
data="$HOME/Documents/cv"
country=$1
[ ! -d "$data" ] && ex "mkdir -p $data"
[ ! -d "$data" ] && mkdir -p "$data"
[ -z $date ] && date=$(date $dfmt)
[ -z $ydate ] && ydate=$(date -d yesterday $dfmt)
@ -17,10 +17,6 @@ then
fi
# Functions go here.
ex(){
echo -e "> ${*}"
$@
}
title(){
local w=48
printf "║ %-${w}s ║\n" "${*}"