瀏覽代碼

Add aws login function to fish

Colin Powell 6 年之前
父節點
當前提交
4f76de55fb
共有 2 個文件被更改,包括 4 次插入0 次删除
  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