From f408ae894e4e10bbf4358c7c07bb9618ef1353e4 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 7 Feb 2026 23:46:42 +0200 Subject: rename --- scripts/hx.aichat-prompt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scripts/hx.aichat-prompt (limited to 'scripts/hx.aichat-prompt') diff --git a/scripts/hx.aichat-prompt b/scripts/hx.aichat-prompt new file mode 100755 index 0000000..4cafcf5 --- /dev/null +++ b/scripts/hx.aichat-prompt @@ -0,0 +1,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 + aichat "$(hx.prompt). $INSTRUCTIONS" +else + aichat "$@. $INSTRUCTIONS" +fi -- cgit v1.2.3