Skip to content

Commit

Permalink
Merge pull request #8 from amerintlxperts/gh-auth-login
Browse files Browse the repository at this point in the history
fix: #6 silence the gh auth output
  • Loading branch information
robinmordasiewicz authored Jun 8, 2024
2 parents 835a8dd + 841e9d7 commit 790d2e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/container-dotfiles/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
"id": "container-dotfiles",
"installsAfter": [],
"name": "Container Dotfiles",
"version": "0.0.49"
"version": "0.0.50"
}
4 changes: 2 additions & 2 deletions src/container-dotfiles/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ if command -v /opt/conda/bin/conda &>/dev/null; then
su -l "${_REMOTE_USER}" -c "/opt/conda/bin/conda config --set changeps1 False"
fi

su -l "${_REMOTE_USER}" -c "echo 'gh auth status || gh auth login' >> ${_REMOTE_USER_HOME}/.bashrc"
su -l "${_REMOTE_USER}" -c "echo 'gh auth status || gh auth login' >> ${_REMOTE_USER_HOME}/.zshrc"
su -l "${_REMOTE_USER}" -c "echo 'gh auth status > /dev/null 2>&1 && echo 'gh auth logged in' || gh auth login >> ${_REMOTE_USER_HOME}/.bashrc"
su -l "${_REMOTE_USER}" -c "echo 'gh auth status > /dev/null 2>&1 && echo 'gh auth logged in' || gh auth login >> ${_REMOTE_USER_HOME}/.zshrc"

0 comments on commit 790d2e3

Please sign in to comment.