Skip to content

Commit

Permalink
fix: #6 silence the gh auth output
Browse files Browse the repository at this point in the history
  • Loading branch information
robinmordasiewicz committed Jun 9, 2024
1 parent cb7b68b commit 3988655
Showing 1 changed file with 2 additions and 2 deletions.
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 2>&1 | grep -q \"Logged in to github.com account\") || gh auth login' >> ${_REMOTE_USER_HOME}/.bashrc"
su -l "${_REMOTE_USER}" -c "echo '(gh auth status 2>&1 | grep -q \"Logged in to github.com account\") || gh auth login' >> ${_REMOTE_USER_HOME}/.zshrc"
su -l "${_REMOTE_USER}" -c "echo '(gh auth status >/dev/null 2>&1 | grep -q \"Logged in to github.com account\") || gh auth login' >> ${_REMOTE_USER_HOME}/.bashrc"
su -l "${_REMOTE_USER}" -c "echo '(gh auth status >/dev/null 2>&1 | grep -q \"Logged in to github.com account\") || gh auth login' >> ${_REMOTE_USER_HOME}/.zshrc"

0 comments on commit 3988655

Please sign in to comment.