dofiles-win/Documents/PowerShell/aliases.ps1

11 lines
276 B
PowerShell
Raw Normal View History

2024-02-02 22:28:57 -04:00
# Unix like pwd
if (Test-Path alias:pwd) {
Remove-Alias -Name pwd
}
2024-02-02 22:40:00 -04:00
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}