]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add x16emu to PATH on Linux
authorEdward Delaporte <edward@delaporte.us>
Sun, 21 Nov 2021 01:40:20 +0000 (01:40 +0000)
committerEdward Delaporte <edward@delaporte.us>
Sun, 21 Nov 2021 01:40:20 +0000 (01:40 +0000)
Microsoft.PowerShell_profile.ps1

index a57c48a7ba0750cf6e21ab4790c9a78600d0c2cb..527eecd4fcd0ab547a5caee3dc8e323b28090adf 100644 (file)
@@ -30,7 +30,9 @@ if($IsWindows){
        $ENV:PATH+=";C:\Program Files (x86)\GnuWin32\bin" # GNU Utils - i.e. rm
        $ENV:PATH+=";C:\PENGUIN" # Flag to ensure my profile kicked in.
 }
-
+else {
+       $ENV:PATH+=":$HOME/x16/x16-emulator" # x16 Emulator
+}
 
 $env:Journal = "~\Journal\2021" # allows cd $env:journal
 $env:minion = "$env:src\minion"
@@ -67,7 +69,9 @@ Set-PSReadlineOption -HistorySavePath $env:src\PSHistory.log
 . $env:minion\profiles\path.ps1
 # Add Minion to path
 Write-Host "+ Added minion command to path."
-$ENV:PATH+=";$env:minion\go" # Flag to ensure my profile kicked in.
+if($IsWindows){
+       $ENV:PATH+=";$env:minion\go" # Flag to ensure my profile kicked in.
+}
 
 # Unix dies hard.
 New-Alias which get-command