-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zsh:1: command not found: yabai #350
Comments
I can work around this by I suspect it has something to do with not-sourcing-.zshrc with a non-interactive shell. But to count against that, even forcing interactive shell with |
If you're already using homemanager, why not use nix-darwin and let that manage both yabai and skhd for you? That might fix the path issues because you wont depend on homebrew anymore for this. |
Because package versions. In the end I’m no longer using Yabai. Instead I’m using AeroSpace, which is more suitable for my use cases. |
Turned out my issue was that the PATH key of skhd's plist file did not include any system paths. Reran |
I've got
yabai
andskhd
installed viabrew
and I've gotzsh
configured by nix w/ home-manager.I'm running the service via
skhd --(start|restart|stop)-service
.The plist includes the homebrew prefix (
/opt/homebrew/bin:/opt/homebrew/sbin:
) in the PATH environment variable andecho $PATH
from the shell returns/opt/homebrew/bin:/opt/homebrew/sbin:..
as expected.Debugging skhd using:
alt - p : echo $PATH
, the/tmp/skhd_*.out.log
does NOT include the homebrew prefix on the path. I don't understand why. It's in the plist for the service and it's also in my shell. What could I be missing that would mean it's not on the PATH of the service'szsh
call?The text was updated successfully, but these errors were encountered: