summaryrefslogtreecommitdiffstats
path: root/.local/bin/idea
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-23 01:25:46 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-23 01:25:46 +0200
commit575db6052aa15cf135d1bea9efd04d4edef1b062 (patch)
tree2005b91d281d02b0aa757116cdd123b9093820f6 /.local/bin/idea
parentncmpc keys update and more (diff)
downloaddotfiles-bsd-575db6052aa15cf135d1bea9efd04d4edef1b062.tar.gz
dotfiles-bsd-575db6052aa15cf135d1bea9efd04d4edef1b062.tar.bz2
dotfiles-bsd-575db6052aa15cf135d1bea9efd04d4edef1b062.tar.xz
dotfiles-bsd-575db6052aa15cf135d1bea9efd04d4edef1b062.tar.zst
dotfiles-bsd-575db6052aa15cf135d1bea9efd04d4edef1b062.zip
udpate
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