Browse Source

[zsh] Add ghlogin alias

Colin Powell 1 năm trước cách đây
mục cha
commit
fe87290074
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      zsh/.zshrc

+ 4 - 0
zsh/.zshrc

@@ -47,6 +47,10 @@ repo_go() {
   aws codeartifact login --namespace sureapp --tool npm --repository npm --domain sure --domain-owner 348777858795 --profile registries-read
 }
 
+ghlogin() {
+  npm login --registry=https://npm.pkg.github.com --scope=@sureapp
+}
+
 poetry-install() {
   repo_go
   poetry install