yabai
yabai copied to clipboard
sudo: sorry, you are not allowed to set the following environment variables: TERMINFO
This issue is opened for people who may encounter the same problem in future.
I'm using MacOS 13.4 on M2 Pro
I followed the instructions in the wiki pages to disable SIP and install yabai. When I run sudo yabai --load-sa
, I got the error in title.
I solved by running sudo visudo /etc/sudoers
and add the line
Defaults env_keep += "TERMINFO"
One thing to note that when I install yabai on MacOS 12.7.1 (Intel), I didn't have to do this.