implemented config.sh in new_hook.sh and make_new.sh
This commit is contained in:
parent
0a103e24fa
commit
06ee4b76bb
@ -4,7 +4,7 @@ cd $JOURNAL_DIR
|
||||
DATE=`date +'%Y-%m-%d'`
|
||||
FILE="$JOURNAL_DIR/$DATE.wiki"
|
||||
|
||||
[[ -f $SCRIPT_DIR/utils/journals.sh ]] && . $SCRIPT_DIR/utils/journals.sh
|
||||
import journals
|
||||
|
||||
# Getting the last journal entry file
|
||||
declare -a journals
|
||||
|
@ -1,10 +1,8 @@
|
||||
#!/usr/local/bin/bash
|
||||
|
||||
export PROJECT_DIR=~/Notes
|
||||
export SCRIPT_DIR=$PROJECT_DIR/scripts
|
||||
export JOURNAL_DIR=$PROJECT_DIR/wikis
|
||||
cd `dirname $0`
|
||||
|
||||
cd $SCRIPT_DIR
|
||||
[[ -f config.sh ]] && . config.sh
|
||||
|
||||
./make_new.sh
|
||||
./update_all.sh
|
||||
./update_hook.sh
|
||||
|
Loading…
Reference in New Issue
Block a user