I tried installing the hardhat-shorthand plugin and whenever I try using 'hh' in Git Bash it brings up this instead:
Asked
Active
Viewed 1,040 times
2 Answers
3
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.
mvdkoppel
- 46
- 2
1
If you're on Windows, adding npx before the shorthand like this
npx hh compile does the trick.
Cheers
Web3Phoenix
- 51
- 6

hhwill 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. – Franco Victorio Jul 29 '21 at 12:57