Still getting the hang of this bash stuff
This commit is contained in:
parent
9347ee31aa
commit
6887684fa7
1 changed files with 1 additions and 1 deletions
2
loggit
2
loggit
|
@ -14,7 +14,7 @@ set -e
|
||||||
readonly NOTES_DIRECTORY="${NOTES_DIRECTORY:-${HOME}/loggit}"
|
readonly NOTES_DIRECTORY="${NOTES_DIRECTORY:-${HOME}/loggit}"
|
||||||
readonly NOTES_EDITOR="${EDITOR:-nano}"
|
readonly NOTES_EDITOR="${EDITOR:-nano}"
|
||||||
|
|
||||||
readonly NOTES_FILE="$Log.txt"
|
readonly NOTES_FILE="Log.txt"
|
||||||
readonly NOTES_PATH="${NOTES_DIRECTORY}/${NOTES_FILE}"
|
readonly NOTES_PATH="${NOTES_DIRECTORY}/${NOTES_FILE}"
|
||||||
|
|
||||||
if [ ! -d "${NOTES_DIRECTORY}" ]; then
|
if [ ! -d "${NOTES_DIRECTORY}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue