aboutsummaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-03-30 15:48:16 +0100
committerMatthew Lemon <y@yulqen.org>2023-03-30 15:48:16 +0100
commitcc90ea26010163c4237ac79efa7f02afe394725e (patch)
treef0260a889fba0655e66a222076485709254c2be1 /bashrc
parent8078bb14899f1a7c660c2545f4a172b2ff1c5761 (diff)
quick formatting fix
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc9
1 files changed, 5 insertions, 4 deletions
diff --git a/bashrc b/bashrc
index 6f38044..e610d1f 100644
--- a/bashrc
+++ b/bashrc
@@ -60,12 +60,13 @@ todj () {
$CMD $(find /home/lemon/Documents/Notes/journal -name "*$(date '+%Y-%m-%d')*")
}
-###################################################################################################
+#########################################################################
# This function takes two arguments as strings. The idea is to enable
# passing file data into the function, such as a csv file or some code.
-# Call like this openai_data "Please optimise the following function in python" "$(</path/to/file)"
-# This is supposed to be a good way to read a file's contents in bash
-###################################################################################################
+# Call like this openai_data "Please optimise the following function in
+# python" "$(</path/to/file)" This is supposed to be a good way to read a
+# file's contents in bash
+#########################################################################
openai_data() {
if [[ $# -ne 2 ]]; then echo "Give me two params!"; return; fi