Go to file
Ashik K ae4d9eca30 minor fix for prompt 2023-04-09 18:12:47 +02:00
README.md Initial commit 2023-04-09 17:49:14 +02:00
smartsh.py minor fix for prompt 2023-04-09 18:12:47 +02:00

README.md

You need to add the following to your .bashrc

export OPENAI_API_KEY="your_api_key"

export SMARTSH_PATH="path_to_dir_with_smartsh.py"
command_not_found_handle () {
    echo "Let's get help from OpenAI API!"
    python3 $SMARTSH_PATH/smartsh.py "$@"
}