Update powershell shit again

This commit is contained in:
Isaac Shoebottom 2024-02-02 22:40:00 -04:00
parent 69c1645301
commit a5992f08d6
2 changed files with 10 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# Sync apps with scoop
&~/Documents/PowerShell/verify-state.ps1
. ~/Documents/PowerShell/verify-state.ps1
# Shell completion
&~/Documents/PowerShell/completions.ps1
. ~/Documents/PowerShell/completions.ps1
# Aliases
&~/Documents/PowerShell/aliases.ps1
. ~/Documents/PowerShell/aliases.ps1

View File

@ -2,4 +2,10 @@
if (Test-Path alias:pwd) {
Remove-Alias -Name pwd
}
Function pwd {(Get-Location).Path}
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}