Update powershell shit again
This commit is contained in:
parent
69c1645301
commit
a5992f08d6
@ -1,8 +1,8 @@
|
|||||||
# Sync apps with scoop
|
# Sync apps with scoop
|
||||||
&~/Documents/PowerShell/verify-state.ps1
|
. ~/Documents/PowerShell/verify-state.ps1
|
||||||
|
|
||||||
# Shell completion
|
# Shell completion
|
||||||
&~/Documents/PowerShell/completions.ps1
|
. ~/Documents/PowerShell/completions.ps1
|
||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
&~/Documents/PowerShell/aliases.ps1
|
. ~/Documents/PowerShell/aliases.ps1
|
@ -2,4 +2,10 @@
|
|||||||
if (Test-Path alias:pwd) {
|
if (Test-Path alias:pwd) {
|
||||||
Remove-Alias -Name 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}
|
Loading…
Reference in New Issue
Block a user