From 731c9fd80029881e2b479dd32da18b34154c7bf0 Mon Sep 17 00:00:00 2001 From: Michael De Roover Date: Fri, 14 Aug 2020 19:28:36 +0200 Subject: [PATCH] Remove ex function --- cv | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cv b/cv index 7dbfbd5..fa7f4f5 100755 --- a/cv +++ b/cv @@ -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" "${*}"