Explorar el Código

Add aws login function to fish

Colin Powell hace 6 años
padre
commit
4f76de55fb
Se han modificado 2 ficheros con 4 adiciones y 0 borrados
  1. 1 0
      config/fish/config.fish
  2. 3 0
      config/fish/functions/el8aws.fish

+ 1 - 0
config/fish/config.fish

@@ -0,0 +1 @@
+status --is-interactive; and source (pyenv init -|psub)

+ 3 - 0
config/fish/functions/el8aws.fish

@@ -0,0 +1,3 @@
+function el8aws
+        eval $(aws ecr get-login --no-include-email --region us-west-1)
+end