summaryrefslogtreecommitdiffstats
path: root/.local/bin/idea
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/idea')
-rwxr-xr-x.local/bin/idea3
1 files changed, 1 insertions, 2 deletions
diff --git a/.local/bin/idea b/.local/bin/idea
index d79983e..7fdd039 100755
--- a/.local/bin/idea
+++ b/.local/bin/idea
@@ -6,8 +6,7 @@ nl='
'
date=$(date)
-gsed -i '15i '"\\${nl}\\${nl}"'## '"\\${date}"' '"\\${nl}\\${nl}\\${1}" "$HOME"/dev/web/jozan_gemini/thoughts.gmi
-
+sed -i '' -e '15i '"\\${nl}\\${nl}"'## '"\\${date}"' '"\\${nl}\\${nl}\\${1}" "$HOME"/dev/web/jozan_gemini/thoughts.gmi
git -C "$HOME"/dev/web/jozan_gemini add -u
git -C "$HOME"/dev/web/jozan_gemini commit -m "Thought: ${date}"
git -C "$HOME"/dev/web/jozan_gemini push