ChMkDir: Check default dir

This commit is contained in:
dmarakom6 2021-02-03 18:58:47 +02:00
parent 72c38ee47a
commit 25fc46bec8

13
util/ChMkDir.sh Normal file
View file

@ -0,0 +1,13 @@
:<<'info'
shellnotes - ChMkDir.sh
(C) Dimitris Marakomihelakis
Released under the "All rights reserved" category. See the RIGHTS.txt file
in /docs/github/ for its full text.
info
cd ~
if [[ -d "$DEFAULT_PATH" ]]; then
exists=true
else
mkdir Notes >/dev/null
fi