Add note-taking function
[khome.git] / home / lib / login_functions.sh
index 862e908..7c569dc 100644 (file)
@@ -151,6 +151,11 @@ work_log() {
 
 }
 
+note() {
+    mkdir -p "$DIR_NOTES"
+    vim "$DIR_NOTES/$(date +'%Y_%m_%d--%H_%M_%S%z')--$1.md"
+}
+
 weather() {
     curl "http://wttr.in/$WEATHER_LOCATION"
 }
This page took 0.025144 seconds and 4 git commands to generate.