X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/91d5af11f499f2701e2cbff03eb3a8a727c42b06..00afe41e5a15fc876df32ed63d66cbb740e448b8:/Microsoft.PowerShell_profile.ps1?ds=sidebyside diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 759d655..d2fd450 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -52,11 +52,23 @@ function Start-DockerJuiceShop() { } # Import some home grown PowerShell modules, if they are installed. -$modPaths = @("C:\src\toybox\toybox.psm1") +$modPaths = @("C:\src\dotfiles\ToyBox\toybox.psm1") $modPaths | ForEach-Object { - Write-Host $_ $_ | Format-Table if(Test-Path -Path $_) { Import-Module $_ + Write-Host "Loaded $_" } +} + +function Start-DockerPython3Bash { + docker run -it python /bin/bash +} + +function Start-DockerPython2Bash { + docker run -it python:2-buster /bin/bash +} + +function Stop-Docker { + docker stop $(docker ps -a -q) } \ No newline at end of file