update msys2 notes

This commit is contained in:
Aleksandr Chebotov
2020-09-28 15:08:08 +03:00
parent 17ba6f9969
commit caefc77d7a
2 changed files with 15 additions and 1 deletions

View File

@@ -271,6 +271,12 @@ function Get-PacmanVersion {
return "- Pacman $pacmanVersion"
}
function Get-ShellTarget {
$shells = Get-ChildItem C:\shells -File | Select-Object @{n="Name";e={
if ($_.Name -eq 'bash.exe') {"$($_.Name) (Default)"} else {$_.Name}}},@{n="Target";e={$_.Target[0]}} | Sort-Object Name
$shells | New-MDTable -Columns ([ordered]@{Name = "left"; Target = "left";})
}
function Get-YAMLLintVersion {
yamllint --version
}