aboutsummaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-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