Disable file completion ... for now
This commit is contained in:
parent
e5d7d21b92
commit
836d5dd6ff
2
ai-chat
2
ai-chat
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user