I'm trying to have my cygwin sh program open when I hit Windows Key + R (this could just as easily apply to any other key combination), but I realize that all of my computers may not have cygwin installed. In the case where my computer doesn't have cygwin, I'd like to just open the Windows Command Prompt.
How do I conditionally set the #r
(Win+R) mapping to attain this?