Przeglądaj źródła

Add aws login function to fish

Colin Powell 6 lat temu
rodzic
commit
4f76de55fb
2 zmienionych plików z 4 dodań i 0 usunięć
  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