Closed heavyblack1 closed 1 year ago
Can you confirm that bat
installaion went well with binenv install -g bat
?
Did you try sudo env "PATH=$PATH" "HOME=$HOME" "BINENV_GLOBAL=true" bat
?
Could you also try sudo -E bat
also ?
I looked in to history. Yes i specified -g option. This command work
sudo env "PATH=$PATH" "HOME=$HOME" "BINENV_GLOBAL=true" bat ./binenv_install.sh
Even this worked
sudo "BINENV_GLOBAL=true" bat ./binenv_install.sh
This also worked
sudo -E bat ./binenv_install.sh
Should I put this into alias into .bashrc
or is there something easier?
Thanks for your time
Thanks a lot for the report. This is now solved in v0.19.8.
I installed
binenv
according to your system-wide installation instructions. And also addecho "export BINENV_GLOBAL=true" >> .bashrc
andexec $SHELL
.I tried running
sudo bat
, and it didn't work.After some digging, I returned from system-wide installation to the main
readme.md
and found the missing answer to my problem.sudo env "PATH=$PATH" "HOME=$HOME" bat
But even this didn't solve issue.
Is this a bug? Or I didn't understand your guide?
Thanks for help