summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdotfiles/scripts/hx.hexai-prompt4
1 files changed, 2 insertions, 2 deletions
diff --git a/dotfiles/scripts/hx.hexai-prompt b/dotfiles/scripts/hx.hexai-prompt
index 358b64a..ef413c0 100755
--- a/dotfiles/scripts/hx.hexai-prompt
+++ b/dotfiles/scripts/hx.hexai-prompt
@@ -3,7 +3,7 @@
declare -xr INSTRUCTIONS='Answer only. If it is code, code only without code-block at the beginning and the end.'
if [[ $# -eq 0 ]]; then
- hexai "$(hx.prompt). $INSTRUCTIONS"
+ hexai "$(hx.prompt). $INSTRUCTIONS" 2>/dev/null
else
- hexai "$@. $INSTRUCTIONS"
+ hexai "$@. $INSTRUCTIONS" 2>/dev/null
fi