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
Trace
shell/MS.Open.ps1
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Author
Date
Commit
Line
Code
1
# MS.Open PowerShell integration
3
function mkcd {
4
[CmdletBinding()]
5
param(
6
[Parameter(Mandatory, Position = 0)]
7
[string]$Path
8
)
10
$directory = New-Item -ItemType Directory -Path $Path -Force
11
Set-Location -LiteralPath $directory.FullName
12
}
14
function reload {
15
[CmdletBinding()]
16
param()
18
if (-not (Test-Path -LiteralPath $PROFILE)) {
19
Write-Warning "No PowerShell profile exists at: $PROFILE"
20
return
21
}
23
. $PROFILE
24
Write-Host "Reloaded $PROFILE"
25
}