# Install ZSH on MacOs
brew install zsh
# Install ZSH on debian distros
sudo apt install zshThen, add oh my zsh:
# Install OhMyZsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Add to shell profile (~/.zshrc):
export PERSONAL_SHELL_SETUP_PATH=<path-to-this-dir>
source $PERSONAL_SHELL_SETUP_PATH/_index.shFor zsh, put this right before the following call:
export MACHINE_TYPE=work # or: home
source $ZSH/oh-my-zsh.shOn Windows 10:
export TMP_DIR=/mnt/c/Temp
mkdir -p $TMP_DIR
curl -L -o $TMP_DIR/powerline.zip https://github.com/powerline/fonts/archive/refs/heads/master.zip
unzip $TMP_DIR/powerline.zip -d $TMP_DIR/powerlineSet-ExecutionPolicy RemoteSigned
C:\Temp\powerline\fonts-master\install.ps1
Set-ExecutionPolicy Default
cd
Remove-Item -Recurse -Force C:\Temp\To make the shell setup load an non-version controlled, create a .env file in your home directory:
AN_ENVIRONMENT_VAR=WITH_VALUEUpon next shell init it will be globally available for your user.
asdf plugin add java asdf install java corretto-11.0.19.7.1