Skip to content

Instantly share code, notes, and snippets.

@jgardner04 jgardner04/$profile
Last active Aug 26, 2017

Embed
What would you like to do?
PowerShell $Profile
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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.