This Gist describes how I setup iTerm
Setup Powerlevel10k
- Clone the powerlevel10k git repo:
$ git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
- Add
source ~/powerlevel10k/powerlevel10k.zsh-theme
to ~/.zshrc - Set
ZSH_THEME="powerlevel10k/powerlevel10k"
in ~/.zshrc. - Reload ~/.zshrc:
source ~/.zshrc
When prompted to install fonts select y
.
When prompted to restart selecty
and restart iTerm.
Run p10k configure
- Install Pyenv
- Add the following to .zshrc
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1;
then
eval "$(pyenv init -)"
fi
- Install required Python versions with Pyenv
pyenv install 3.6.10
pyenv install 3.7.6
pyenv install 3.8.1
- Install Poetry and follow the instructions given by the installer.
- Make sure virtual envs are created in the project dir:
poetry config --local virtualenvs.in-project true