I tried installing the hardhat-shorthand plugin and whenever I try using 'hh' in Git Bash it brings up this instead:



I've had the same problem. It happens because of a name conflict with the HTML Help program (C:\Windows\hh.exe). One way to fix it is by renaming the hh.exe program, for instance to hh-help.exe.

This is a protected Windows file so you do need to get the required permission to change the name. You can follow this guide in order to change the permission.

  • Keep in mind that if you do this, hh will work but you won't get autocomplete. This feature only works in bash, zsh and fish. If you are on windows, you can use bash under the Windows Subsystem for Linux. I haven't done that, but it's an easy thing to google. Jul 29 at 12:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.