20 lines
512 B
Bash
20 lines
512 B
Bash
#!/bin/bash
|
|
|
|
# https://github.com/settings/tokens
|
|
|
|
# DEST=${1:-/etc/skel}
|
|
DEST=${HOME}
|
|
|
|
GITHUB_API_TOKEN="yEum5b7vNJ9mOjxUp7NJS1fiyWJFlSvUeFiBeljv"
|
|
|
|
# PLugins that Use COHERE_API_KEYs get called early so so we need to put them
|
|
# in .zshrc.pre-plugins.d so they can be loaded before the plugins are loaded.
|
|
cat <<-EOF | sudo tee "${DEST}"/.zshrc.pre-plugins.d/009_github.zsh
|
|
export GITHUB_API_TOKEN="${GITHUB_API_TOKEN}"
|
|
EOF
|
|
|
|
# a couple of github specific packages
|
|
apt-get install -f gist gh
|
|
|
|
apt-get -f install
|