Last active
August 26, 2017 13:51
-
-
Save jgardner04/2f848eec0972dd6062423a0f5af88b4b to your computer and use it in GitHub Desktop.
PowerShell $Profile
This file contains 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
Import-Module posh-docker | |
try { $null = gcm pshazz -ea stop; pshazz init 'default' } catch { } | |
# ================ | |
# Alias | |
# ================ | |
function HOME { | |
Set-Location $HOME | |
Get-ChildItem | |
} | |
Set-Alias ~ HOME | |
function BACK{ | |
Set-Location .. | |
Get-ChildItem | |
} | |
Set-Alias .. BACK | |
function BACK2{ | |
Set-Location ../.. | |
Get-ChildItem | |
} | |
Set-Alias ..2 BACK2 | |
function GITHOME { | |
Set-Location J:\GitHub | |
Get-ChildItem | |
} | |
Set-Alias gogit GITHOME | |
function NEWCD { | |
Set-Location $args[0] | |
Get-ChildItem | |
} | |
Set-Alias cd NEWCD -Option AllScope | |
# ======================= | |
# Functions | |
# ======================= | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment