ghco: silence update messages

This commit is contained in:
Rob Watson 2021-04-23 03:57:17 +02:00
parent bd555d87d4
commit cc3a150b07
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@
# Select and checkout a GitHub pull request using the GitHub CLI (required)
set -e
export GH_NO_UPDATE_NOTIFIER=1
prid=$(gh pr list | fzf | awk '{print $1}')
if [ -z $prid ]; then
exit 0