You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command attempted: hub help browse, hub help api etc.
What happened:
The following is printed.
exec: "less": executable file not found in %PATH%
More info:
Hi there, came across a little inconvenience while using hub on Windows. It's probably because less does not come built-in on Windows. Can I submit a PR addressing this issue? I think the fix should be as simple as to check GOOS to determine the default pager.
The text was updated successfully, but these errors were encountered:
@j30ng Thanks for reporting and offering to fix! Funny enough, on the same day that you noticed this, I also noticed it while testing on Windows and I already have a fix in a branch. It will be there in the next release. 🤘
Move the "less.exe" to any folder on your pc that has default access
Go to the Start menu and search for "Environ", the "Edit Environment Variables" should appear
Click on the bottom right "Environment Variables" button, go to the section "System Variables" and search for the Path entry. Do a double click in that entry
Add the path to the folder that has the less executable at the end of this list. Click Ok on any of the opened screens.
if you have an opened VSCode/command line, close and reopen to try again.
Command attempted:
hub help browse
,hub help api
etc.What happened:
The following is printed.
More info:
Hi there, came across a little inconvenience while using hub on Windows. It's probably because less does not come built-in on Windows. Can I submit a PR addressing this issue? I think the fix should be as simple as to check GOOS to determine the default pager.
The text was updated successfully, but these errors were encountered: