+$modPaths | ForEach-Object {
+ $fileName = $_.FullName
+ if($filename -Like "*.psm1") {
+ Import-Module $fileName
+ Write-Host ">> Loaded $fileName"
+ }
+}
+
+
+
+# Linux-like up/down in shell
+Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward
+Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward
+Set-PSReadlineOption -HistorySavePath $env:src\PSHistory.log
+
+# Minion alias commands - 'today'
+# . C:\src\minion\profiles\alias.ps1
+. $env:minion\profiles\alias.ps1
+# Add Minion go executable to path.
+. $env:minion\profiles\path.ps1
+# Add Minion to path
+Write-Host "+ Added minion command to path."
+if($IsWindows){
+ $ENV:PATH+=";$env:minion\go" # Flag to ensure my profile kicked in.
+}
+
+# Unix dies hard.
+New-Alias which get-command
+
+# Delay loading PoshGit for speed.
+function Enable-PoshGit {
+ Import-Module posh-git
+}
+New-Alias pg Enable-PoshGit
+Write-Host "+ Type 'pg' to enable PoshGit"
+
+function Invoke-X16Emu {
+ param(
+ [string]$File
+ )
+ x16emu.exe -bas $File -keymap en-us
+}
+
+New-Alias x16 Invoke-X16Emu
+
+if((Get-Location).Path -eq $HOME){
+ cd $env:src
+}
+
+function Get-GitLog() {
+ git log --oneline
+}
+
+function Get-GitStatus() {
+ git status -b --short
+}
+
+# Tell my scripts which GitHub repositories to look in.
+$env:GITHUB_USERNAME = 'edthedev'
+$env:GITHUB_ORG = 'techservicesillinois'
+$env:GITHUB_ORGS = @('techservicesillinois', 'uillinois-community')
+$env:GITHUB_REPOS = @(
+ 'techservicesillinois/SecOps-Tools',
+ 'techservicesillinois/secdev-job-aids',
+ 'techservicesillinois/awscli-login',
+ 'techservicesillinois/farmit',
+ 'uillinois-community/uillinois-community.github.io'
+)
+
+# Nice for git
+New-Alias ol Get-GitLog
+New-Alias st Get-GitStatus