Software Engineering :: Operating Systems :: Linux :: Command :: Shell :: Fish
⪼ Made with 💜 by Polyglot.
brew install fish
which fish | sudo tee -a /etc/shells
chsh -s $(which fish)
if test "$GIST_GITHUB_API_TOKEN" = ""
echo 'Create a personal access token with `gist` scope and export as `GIST_GITHUB_API_TOKEN`'
echo ''
echo '> security add-generic-password -a $USER -s GIST_GITHUB_API_TOKEN -w *******'
echo '> set -x GIST_GITHUB_API_TOKEN (security find-generic-password -s GIST_GITHUB_API_TOKEN -w)
'
echo 'https://github.com/settings/tokens/new?scopes=gist&description=GIST_GITHUB_API_TOKEN'
return 1
end