Ver Fonte

Add aws login function to fish

Colin Powell há 6 anos atrás
pai
commit
4f76de55fb
2 ficheiros alterados com 4 adições e 0 exclusões
  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