rikhuijzer / ata

Ask the Terminal Anything (ATA): ChatGPT in the terminal
MIT License
274 stars 17 forks source link

Try reading `ata.toml` from some default paths #17

Closed rikhuijzer closed 1 year ago

rikhuijzer commented 1 year ago

This would make it easier to add the binary to the bin folder, place the config in some default path, and then run

$ ata

without extra flags.

For now, this can be achieved by adding the following script to the bin folder (for example, ~/.local/bin):

#!/usr/bin/env bash

/path/to/ata/binary --config=/path/to/config/toml "$@"

Thanks to "$@", this will accept arbitrary arguments to ata.

rikhuijzer commented 1 year ago

Solution to this is provided in #21

rikhuijzer commented 1 year ago

Fixed in #23.