X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/a92983dae20de99ad3fb82c6cffaabee0f72c0e1..4a905cbf06405f033c5f24b7e673a52b4513182a:/files/Microsoft.PowerShell_profile.ps1 diff --git a/files/Microsoft.PowerShell_profile.ps1 b/files/Microsoft.PowerShell_profile.ps1 index fc17319..3107b6a 100644 --- a/files/Microsoft.PowerShell_profile.ps1 +++ b/files/Microsoft.PowerShell_profile.ps1 @@ -1,8 +1,9 @@ -$env:src = "~\src" -Import-Module $env:src\dotfiles\psmodules\add_to_profile.psm1 -Add-ToProfile $env:src\dotfiles\files\paths.ps1 -Add-ToProfile $env:src\dotfiles\files\env.ps1 -Add-ToProfile $env:src\dotfiles\files\load_modules.ps1 +$env:src = "$HOME\src" +$env:dotfiles = "$HOME\dotfiles" +Import-Module $env:dotfiles\psmodules\add_to_profile.psm1 +Add-ToProfile $env:dotfiles\files\paths.ps1 +Add-ToProfile $env:dotfiles\files\env.ps1 +Add-ToProfile $env:dotfiles\files\load_modules.ps1 # Delay loading PoshGit for speed. function Enable-PoshGit { @@ -10,10 +11,12 @@ function Enable-PoshGit { } New-Alias pg Enable-PoshGit +Set-Alias code codium # Prefer Codium + # You can pry my unix commands out of my cold dead fingers Set-Alias which get-command # Reject Windows heritage, act like Vi -Set-PSReadlineOption -HistorySavePath $env:src\PSHistory.log +# Set-PSReadlineOption -HistorySavePath $env:src\PSHistory.log Set-PSReadlineOption -BellStyle Visual Set-PSReadlineOption -ViModeIndicator Prompt Set-PSReadlineOption -EditMode Vi