Wrong `Duplicate declaration` error in a simple config
Author: JokeroCreated Jul 27, 2025Updated Jul 27, 2025
For some reason this config is not considered as valid:
:: buy
:: buyW
rcmd - b ; buy
buy, buyW < rcmd - escape ; default
buy < rcmd - w ; buyW
buyW < rcmd - u : osascript -e 'tell application "Terminal" to do script "echo buy wu" & activate' /usr/local/bin/skhd -c ~/.skhdrc
#2:4 duplicate declaration 'buyW'I'm using the latest version installed via brew:
/usr/local/bin/skhd --version
skhd-v0.3.9The interesting thing is that if I install skhd from the source, this error does not happen. The source code is the same, but result is different. What can be the reason of such behaviour?
Source: asmvik/skhd