# Install ZSH on MacOs
brew install zsh
# Install ZSH on debian distros
sudo apt install zsh
Then, 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.sh
For zsh, put this right before the following call:
export MACHINE_TYPE=work # or: home
source $ZSH/oh-my-zsh.sh
On 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/powerline
Set-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_VALUE
Upon next shell init it will be globally available for your user.
asdf plugin add java asdf install java corretto-11.0.19.7.1