Restricted history file permission

pull/43/head
Rafael Xavier de Souza 1 year ago
parent 192a67229a
commit 94cd89284f
  1. 2
      chatgpt.sh

@ -211,7 +211,7 @@ CONTEXT=${CONTEXT:-false}
# create history file
if [ ! -f ~/.chatgpt_history ]; then
touch ~/.chatgpt_history
chmod a+rw ~/.chatgpt_history
chmod 600 ~/.chatgpt_history
fi
running=true

Loading…
Cancel
Save