Create a gist now

Instantly share code, notes, and snippets.

@jgardner04 /$profile
Last active Aug 26, 2017

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