]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Added Python2 command.
authorEdward Delaporte <delaport@illinois.edu>
Thu, 26 Mar 2020 18:12:22 +0000 (13:12 -0500)
committerEdward Delaporte <delaport@illinois.edu>
Thu, 26 Mar 2020 18:12:22 +0000 (13:12 -0500)
Microsoft.PowerShell_profile.ps1
Toybox/toybox.psm1

index cea5a71d923c60c020bb6a3763666797829986c9..e2aef9c6850353598df0307dd0e52ea5dd7d9958 100644 (file)
@@ -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
index bb9645fa5f370db71a4607da4a077ca1c52e7670..4b7d1e52ef8e473ff171008635dc10afff4648a2 100644 (file)
@@ -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