From: Edward Delaporte Date: Thu, 26 Mar 2020 18:12:22 +0000 (-0500) Subject: Added Python2 command. X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/715bc2354a7a04453f721087d919e54622f351de?ds=sidebyside Added Python2 command. --- diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index cea5a71..e2aef9c 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -59,4 +59,12 @@ $modPaths | ForEach-Object { 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 } \ No newline at end of file diff --git a/Toybox/toybox.psm1 b/Toybox/toybox.psm1 index bb9645f..4b7d1e5 100644 --- a/Toybox/toybox.psm1 +++ b/Toybox/toybox.psm1 @@ -1,7 +1,7 @@ $TOYBOX_ROOT = "C:\src\dotfiles\toybox" -function Start-DockerPythonBash { - docker run -it python /bin/bash -} +# function Start-DockerPythonWhatever { +# docker run -it python /bin/bash +# } -Export-ModuleMember -Function Start-DockerPythonBash +# Export-ModuleMember -Function Start-DockerPythonWhatever