Remove vars dependency

This commit is contained in:
Michael De Roover 2020-07-03 19:58:02 +02:00
parent 1288bea0ed
commit 25055bf724
Signed by: vim
GPG Key ID: 075496E232CE04CB

24
cv
View File

@ -1,20 +1,14 @@
#!/bin/bash
if [ -f /usr/local/bin/vars ]
then
. /usr/local/bin/vars
else
# This is a compatibility mode and not well-supported.
ex(){
echo -e "\\033[0;32m> ${*} \\033[0m"
$@
}
date=$(date +"%Y-%m-%d")
ydate=$(date -d yesterday +"%Y-%m-%d")
show(){
echo -e "\\033[1;36m> ${*} \\033[0m"
}
fi
ex(){
echo -e "\\033[0;32m> ${*} \\033[0m"
$@
}
date=$(date +"%Y-%m-%d")
ydate=$(date -d yesterday +"%Y-%m-%d")
show(){
echo -e "\\033[1;36m> ${*} \\033[0m"
}
data="$HOME/Documents/cv"