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