- Extensions on Windows now enabled through the `sh.exe` interpreter - `sh.exe` now found on Windows when git was installed via scoop - `gh extensions list` command shows origin repo for the extension - `gh extensions upgrade --all` is required to upgrade all extensions - Added `gh extensions remove` - Shell completions now include aliases and extension names - `gh` help output now lists available extension names - Extensions are stored to XDG_DATA_HOME
10 lines
166 B
Go
10 lines
166 B
Go
// +build !windows
|
|
|
|
package findsh
|
|
|
|
import "os/exec"
|
|
|
|
// Find locates the `sh` interpreter on the system.
|
|
func Find() (string, error) {
|
|
return exec.LookPath("sh")
|
|
}
|