소스 검색

[zsh] Add ghlogin alias

Colin Powell 11 달 전
부모
커밋
fe87290074
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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