Disable file completion ... for now

This commit is contained in:
vlad 2023-03-23 09:12:18 -07:00
parent e5d7d21b92
commit 836d5dd6ff

View File

@ -8,6 +8,8 @@ prompt="You are Mr.Helper. You are an assistant that lives in a floating termina
echo -n "$prompt" | jq -sR '{"role": "system", "content": .}' > "$conversation_file" echo -n "$prompt" | jq -sR '{"role": "system", "content": .}' > "$conversation_file"
bind 'set disable-completion On' 2>/dev/null
printf '\033[48;5;241m\033[38;5;15m' printf '\033[48;5;241m\033[38;5;15m'
while read -rep '> ' prompt ; do while read -rep '> ' prompt ; do
[ -n "$prompt" ] || continue [ -n "$prompt" ] || continue