zsh setup and configs
on my mac(s) i use zsh with oh my zsh and powerlevel10k.
- path shortening on deeper levels
- context of user
- python version and venv name if "inside" one
- autosuggestions
- git pipenv pyenv zsh-autosuggestions
- start pipenv when entering a folder with a pythin virtual env
- neat icons and font ;)
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
you might need to run xcode installer or alike, but home brew guides you through that.
brew install pyenv
brew install pipenv
https://github.com/romkatv/powerlevel10k#manual-font-installation and change your terminals font to the "MesloLGS NF" family.
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
make sure $ZSH_CUSTOM
exists; if not: source ~/.zshrc
and then:
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
replace configs in ~/.zshrc with those here in .zshrc
replace configs in ~/.p10k.zsh with those here in .p10k.zsh