diff options
author | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-05-14 17:17:40 +0100 |
---|---|---|
committer | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-05-14 17:17:40 +0100 |
commit | 00ed44a2cb36e4cc6b4d70897cfc53039c5d7a2e (patch) | |
tree | c920c3fabb32058291c62735a3b188348fcbf0e5 | |
parent | bf3ba96f3be80ffedd91983f120f800f1150b39a (diff) |
change flag in todj
-rw-r--r-- | kshrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ PS1='$_XTERM_TITLE\A $_PS1_COLOR\u@\h$_PS1_CLEAR:$_PS1_BLUE\w$_PS1_COLOR\$$_PS1_ todj () { CMD=cat - if [[ $1 = "-vim" ]]; then + if [[ $1 = "-v" ]]; then CMD=vim fi $CMD $(find /home/lemon/Notes/journal -name "*$(date '+%Y-%m-%d')*") |