install.fairie/home/.chezmoitemplates/secrets/gist-fallback

5 lines
90 B
Bash

#!/usr/bin/env bash
echo "{{ .user.GITHUB_GIST_TOKEN }}" > ~/.gist
gist $*
rm -f ~/.gist