switch to powerlevel10k and install misc utilities

This commit is contained in:
MorganGeek
2020-02-08 11:23:45 +01:00
parent 4a251ace1e
commit e934a93c65
9 changed files with 1312 additions and 9 deletions

@ -48,6 +48,7 @@ ln -snf ~/Code/dotfiles/requirements.txt ~/requirements.txt
ln -snf ~/Code/dotfiles/dot_surfraw.conf ~/.surfraw.conf
ln -snf ~/Code/dotfiles/private_dot_3llo/config.sh ~/.3llo_config
ln -snf ~/Code/dotfiles/dot_ansiweatherrc ~/.ansiweatherrc
ln -snf ~/Code/dotfiles/dot_p10k_dot_zsh ~/.p10k.zsh
# Other symblinks + Install Docker Desktop for Mac
case "$(uname -s)" in
@ -117,10 +118,10 @@ bundle install
# Install Oh My Zsh and some cool dependencies
echo "Installing Oh My Zsh + customizing themes and plugins"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
git clone https://github.com/AlexisBRENON/oh-my-zsh-reminder ~/.oh-my-zsh/custom/plugins/reminder
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git "$ZSH_CUSTOM/themes/powerlevel10k"
git clone https://github.com/AlexisBRENON/oh-my-zsh-reminder "$ZSH_CUSTOM/plugins/reminder"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$ZSH_CUSTOM/plugins/zsh-syntax-highlighting"
git clone https://github.com/zsh-users/zsh-autosuggestions "$ZSH_CUSTOM/plugins/zsh-autosuggestions"
ln -snf ~/Code/dotfiles/dot_zshrc ~/.zshrc
ln -snf ~/Code/dotfiles/dot_zshrc.pre-oh-my-zsh ~/.zshrc.pre-oh-my-zsh

3
dot_scripts/cleanup.sh Normal file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
set -eo pipefail
docker system prune

2
dot_scripts/configure.sh Normal file

@ -0,0 +1,2 @@
#!/usr/bin/env zsh
p10k configure

29
dot_scripts/version.sh Normal file → Executable file

@ -1,4 +1,33 @@
#!/usr/bin/env bash
set -eo pipefail
vim --version | head -1
rustc --version
npm --version
bats --version
octant version
kubectl version
zola --version
pip --version
pip3 --version
java -version
javac -version
ansible --version
terraform --version
hugo version
python --version
python3 --version
docker --version
openssl version
git --version
atlas-version | grep Version | head -n 1
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && source "$SDKMAN_DIR/bin/sdkman-init.sh"
sdk --version
tac --version | head -n 1
k9s version
tfsec --version
aws-iam-authenticator version
stern --version
helm version
terragrunt --version