My personal environment variables.
sudo apt install zsh
brew install zsh zsh-completions
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
chsh -s /bin/zsh
brew install kubectl
Follow instructions to install Krew.
kubectl krew install ctx
kubectl krew install ns
kubectl krew install tree
kubectl krew install score
kubectl krew install stern
fzf is a general-purpose command-line fuzzy finder.
brew install fzf
Check the GitHub project page for the latest release of NVM.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v{version}/install.sh | bash
nvm install --lts
nvm ls
npm install -g yarn
yarn global add @vue/cli
Display how the different colors look in the terminal:
for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$'\n'}; done