yabai icon indicating copy to clipboard operation
yabai copied to clipboard

sudo: sorry, you are not allowed to set the following environment variables: TERMINFO

Open lokxii opened this issue 8 months ago • 1 comments

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.

lokxii avatar May 28 '24 06:05 lokxii