blob: ef413c0a219f3c915dc4514858df01ab91c6f04f (
plain)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/env zsh
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" 2>/dev/null
else
hexai "$@. $INSTRUCTIONS" 2>/dev/null
fi
|