Make cv work without external vars

master
Michael De Roover 2020-04-30 13:10:19 +02:00
parent d84bc9fb23
commit 55c2df8865
Signed by: vim
GPG Key ID: 075496E232CE04CB
2 changed files with 12 additions and 1 deletions

2
.gitignore vendored 100644
View File

@ -0,0 +1,2 @@
# Ignore swap files from vim
.*.swp

11
cv
View File

@ -1,6 +1,15 @@
#!/bin/bash
. /usr/local/bin/vars
if [ -f /usr/local/bin/vars ]
then
. /usr/local/bin/vars
else
# This is a compatibility mode and not well-supported.
date=$(date +"%Y-%m-%d")
show(){
echo -e "\033[1;36m> ${@} \033[0m"
}
fi
country=$1