public
imalexnord
read
ms.open
Adds Mac "Open ." command to Windows
Languages
Repository composition by tracked source files.
PowerShell
100%
Create file
Wiki Documentation
Clone
https://nobgit.com/user/imalexnord/ms.open.git
ssh://[email protected]:2222/user/imalexnord/ms.open.git
# MS.Open PowerShell integration
function mkcd {
[CmdletBinding()]
param(
[Parameter(Mandatory, Position = 0)]
[string]$Path
)
$directory = New-Item -ItemType Directory -Path $Path -Force
Set-Location -LiteralPath $directory.FullName
}
function reload {
[CmdletBinding()]
param()
if (-not (Test-Path -LiteralPath $PROFILE)) {
Write-Warning "No PowerShell profile exists at: $PROFILE"
return
}
. $PROFILE
Write-Host "Reloaded $PROFILE"
}