diff --git a/plugins/tilde-switch/tilde-switch.plugin.zsh b/plugins/tilde-switch/tilde-switch.plugin.zsh index 9705a159d..60587877b 100644 --- a/plugins/tilde-switch/tilde-switch.plugin.zsh +++ b/plugins/tilde-switch/tilde-switch.plugin.zsh @@ -19,4 +19,21 @@ # # This solution taken from here: https://apple.stackexchange.com/a/353941 # -hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x700000064},{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035}]}' > /dev/null + +MAPPING=$(cat < /dev/null