diff options
author | Matthew Lemon <y@yulqen.org> | 2023-03-30 15:48:16 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-03-30 15:48:16 +0100 |
commit | cc90ea26010163c4237ac79efa7f02afe394725e (patch) | |
tree | f0260a889fba0655e66a222076485709254c2be1 /bashrc | |
parent | 8078bb14899f1a7c660c2545f4a172b2ff1c5761 (diff) |
quick formatting fix
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |