summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <chaffinach+git@protonmail.ch>2022-05-14 17:17:40 +0100
committerMatthew Lemon <chaffinach+git@protonmail.ch>2022-05-14 17:17:40 +0100
commit00ed44a2cb36e4cc6b4d70897cfc53039c5d7a2e (patch)
treec920c3fabb32058291c62735a3b188348fcbf0e5
parentbf3ba96f3be80ffedd91983f120f800f1150b39a (diff)
change flag in todj
-rw-r--r--kshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kshrc b/kshrc
index be669f2..9a4efa0 100644
--- a/kshrc
+++ b/kshrc
@@ -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')*")