diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-07 10:36:59 +0100 | 
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-07 10:36:59 +0100 | 
| commit | 2b8b624479b32709ce0d4c37218d50dc31bac4df (patch) | |
| tree | e9ffc1bf5868422b8cdf04f8f77b7df8cb873e8d /bin/common/ask | |
| parent | dd0c8a7f17010c3966cab08eab0b7fb0bfeda24e (diff) | |
allow multiline prompts for ask
Diffstat (limited to 'bin/common/ask')
| -rwxr-xr-x | bin/common/ask | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/common/ask b/bin/common/ask index e9f6c91..0f49a99 100755 --- a/bin/common/ask +++ b/bin/common/ask @@ -12,6 +12,7 @@ else      prompt="$@"  fi +prompt="$(echo "$prompt" | tr "\n\t" ' ')"  API_KEY="$(pass tokens/openai-api)"  | 
