X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/a40d74e85e69f513e87f19d962aeb7030495097a..38998d69f4cbac97c359aaad01c1c50d4188ee49:/files/Microsoft.PowerShell_profile.ps1 diff --git a/files/Microsoft.PowerShell_profile.ps1 b/files/Microsoft.PowerShell_profile.ps1 index c01ab27..14b1dc9 100644 --- a/files/Microsoft.PowerShell_profile.ps1 +++ b/files/Microsoft.PowerShell_profile.ps1 @@ -17,7 +17,9 @@ New-Alias dash Show-MyDashboard # from dash.psm1 New-Alias today Get-JournalAgenda # You can pry my unix commands out of my cold dead fingers -Set-Alias which get-command +if($iswindows) { + Set-Alias which get-command +} # Reject Windows heritage, act like Vi # Set-PSReadlineOption -HistorySavePath $env:src\PSHistory.log Set-PSReadlineOption -BellStyle Visual