2020-09-07 07:44:01 +00:00
|
|
|
# pre-reqs
|
|
|
|
if [ ! -f ~/.shell-prereqs-installed ];
|
|
|
|
then
|
|
|
|
echo "Installing prereqs"
|
|
|
|
which brew > /dev/null || bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
2020-09-07 08:29:43 +00:00
|
|
|
[ -d ~/.oh-my-zsh ] || sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
|
|
|
which fzf > /dev/null || brew install fzf
|
|
|
|
which bat > /dev/null || brew install bat
|
|
|
|
which curlie > /dev/null | brew install rs/tap/curlie
|
|
|
|
which exa > /dev/null || brew install exa
|
|
|
|
which kubectl > /dev/null || brew install kubectl
|
|
|
|
which tkn > /dev/null || brew install tektoncd/tools/tektoncd-cli
|
2020-09-07 08:53:11 +00:00
|
|
|
which k9s > /dev/null || brew install k9s
|
|
|
|
which helm > /dev/null || brew install helm
|
|
|
|
which go > /dev/null || brew install go
|
|
|
|
which jq > /dev/null || brew install jq
|
|
|
|
which kind > /dev/null || brew install kind
|
|
|
|
which kubectx > /dev/null || brew install kubectx
|
2020-09-07 07:44:01 +00:00
|
|
|
brew list --cask homebrew/cask-fonts/font-open-dyslexic-nerd-font > /dev/null || brew install homebrew/cask-fonts/font-open-dyslexic-nerd-font
|
|
|
|
which starship > /dev/null || brew install starship
|
|
|
|
|
|
|
|
touch ~/.shell-prereqs-installed
|
|
|
|
fi
|
|
|
|
|
|
|
|
for filename in ~/.dotfiles/*; do
|
|
|
|
source $filename
|
|
|
|
done
|
|
|
|
|
|
|
|
eval "$(starship init zsh)"
|