Jump to content

ZSH Script - "Command not found" when running program without a full path.

Recommended Posts



When i trigger the script above I get the error message "command not found: bluetoothconnector". I do not undestand why it happens, because im able to execute the bluetoothconnector from the ZSH terminal with the same exact command without any issue. Using the full path (/opt/homebrew/bin/bluetoothconnector 00-8a-76-08-10-26 --notify)  to the bluetoothconnector inside the Alfred workflow script solves the issue but I still would like to know why it happens. 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...