KILL Airplay: (use for Vim / Macvim same Ruby)
boot in recovery (command+r)
in terminal:
csrutil disable
boot in normal:
sudo chmod 000 /System/Library/CoreServices/AirPlayUIAgent.app/Contents/MacOS/AirPlayUIAgent
run disable.sh
boot in recovery (command+r)
in terminal:
csrutil enable
Yeah since Big Sur (?) you need additional steps to write to the boot volume.
https://elitemacx86.com/threads/how-to-enable-write-access-on-root-volume-on-macos-big-sur-and-later.652/
This may (and probably will) be different in later versions of macOS