diff options
-rwxr-xr-x | batnote_openbsd | 2 | ||||
-rwxr-xr-x | dayplan.ksh | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/batnote_openbsd b/batnote_openbsd index f2a8429..c40d7bc 100755 --- a/batnote_openbsd +++ b/batnote_openbsd @@ -4,7 +4,7 @@ # Uses bat if installed, otherwise will use less. NOTES="/home/$USER/Notes" -FZF_BIN="/home/$USER/.fzf/bin/fzf" +FZF_BIN="/usr/local/bin/fzf" CAT="/usr/bin/less" VIM="/usr/local/bin/vim" diff --git a/dayplan.ksh b/dayplan.ksh index df5fe2b..b19a4e7 100755 --- a/dayplan.ksh +++ b/dayplan.ksh @@ -2,6 +2,12 @@ # our target file DATE=$(date +\%Y-\%m-\%d) + +if [ $# -ne 0 ] +then + DATE=$1 +fi + TODAY_PLANNER=~/Notes/journal/day_plans/$DATE.txt if [[ -a $TODAY_PLANNER ]] |