Explorar o código

Add aws login function to fish

Colin Powell %!s(int64=6) %!d(string=hai) anos
pai
achega
4f76de55fb
Modificáronse 2 ficheiros con 4 adicións e 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