]> apps.delaporte.us Git - dotfiles.git/blobdiff - files/Microsoft.PowerShell_profile.ps1
Add context
[dotfiles.git] / files / Microsoft.PowerShell_profile.ps1
index c01ab2717d98b017c056954c19b27d02265af008..14b1dc9b9a00231dd0effdce480f488e314f4309 100644 (file)
@@ -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