dofiles-win/Documents/PowerShell/aliases.ps1

11 lines
276 B
PowerShell

# Unix like pwd
if (Test-Path alias:pwd) {
Remove-Alias -Name pwd
}
Function pwd {(Get-Location).Path}
# Change to dotfiles directory
if (Test-Path alias:dotfolder) {
Remove-Alias -Name dotfolder
}
function dotfolder {Set-Location ~/.local/share/chezmoi}