Last active
December 10, 2015 02:58
-
-
Save kflu/4371699 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Clear-Item -Path alias:dir | |
function dir | |
{ | |
Invoke-Expression "cmd /c dir $args" | |
} | |
Clear-Item -Path alias:cd | |
New-Alias -Name cd -Value Push-Location | |
$env:Path = ".\;$env:Path" | |
Set-Location $HOME | |
Write-Host "Welcome!" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment