I need to use a program called Kpax, the "installation" process consist in this:
(for bash users, edit ~/.bashrc)
export KPAX_ROOT=/home/dritchie/kpax <- substitute the proper pathname here.
export PATH=${PATH}:${KPAX_ROOT}/bin
I'm using Garuda with fish shell, if I run Kpax using bash works great, the problem is that I need to run Kpax from a php file and every time I use shell_exec()
this appear in the error_log:
kpax: command not found
Is there a way to replicate the thing with the environment variables in fish as in bash?
set
command to create the environment variable (instead ofexport
), and thefish_add_path
command