-function Start-DockerOWASPZap() {
- Param(
- [string]$URL
- )
- # https://github.com/zaproxy/zaproxy/wiki/Docker
- docker run owasp/zap2docker-stable
- docker run -i owasp/zap2docker-stable zap-cli quick-scan --self-contained --start-options '-config api.disablekey=true' $URL
- Write-Host "https://github.com/zaproxy/zaproxy/wiki/Docker"
+
+
+# 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."
+$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