acli icon indicating copy to clipboard operation
acli copied to clipboard

Manual installation - rc file question

Open tolga-balci opened this issue 1 year ago • 0 comments

Hi Joel,

Thanks for developing the acli application. It seems exactly what I need.

I am trying to install it with the manual method* and I'm stuck in the documentation. Here are the steps I performed and where I'm stuck:

  1. I downloaded the acli-linux-amd64 file from the Releases page.
  2. I chmod'd the file
  3. I created the acli.rc file with the following contents to point the installer to the .rc file (per the installation doc "Add configuration in any .rc file you want:")
ACLI_OPENAI_KEY="<MyAPIKey>"

alias fix='eval $(acli --script fixCmd "$(fc -nl -1)" $?)'
howto() { h="$@"; eval $(acli --script howCmd "$h") ; }

It seems to me that either the statement "Add configuration in any .rc file you want" needs to be clarified (which rc file and how?) or there needs to be an installer switch where we can point the installer to the rc file, such as --config-file /home/joel/acli.rc.

Apologies if I'm missing something.

Cheers, Tolga

[*] I get curl(60) errors on script installation - I suspect this is due to the ZScaler application my company is using.

tolga-balci avatar Mar 17 '23 08:03 tolga-balci