Skip to content

Instantly share code, notes, and snippets.

@wteuber
Created September 23, 2023 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wteuber/d61ec849a4fb7b75665bf9d08a998ee2 to your computer and use it in GitHub Desktop.
Save wteuber/d61ec849a4fb7b75665bf9d08a998ee2 to your computer and use it in GitHub Desktop.
List gists with gh cli
# install and set up gh (https://cli.github.com/)
GH_USER=`gh auth status | grep -oue "Logged in to github.com as [^ ]*" | grep -oue "[^ ]*$"`
gh gist list -L1000 | sed -e "s/^/https:\/\/gist.github.com\/$GH_USER\//"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment