๐
Zsh
Oh My Zsh
Oh My Zsh is an open source, community-driven framework for managing your zsh configuration.
Powerlevel10K - a theme for Zsh

- Install the recommended font
- Install the theme
zsh
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10kecho 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc
Set ZSH_THEME="powerlevel10k/powerlevel10k"
in ~/.zshrc
.
- Restart Zsh.
- Type p10k configure if the configuration wizard doesn't start automatically.
- Install
zsh-autosuggestions
sh
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc
):
sh
plugins=(zsh-autosuggestions)
Change node version automatically with nvm
sh
function change_node_version {nvmrc="./.nvmrc"if [ -f "$nvmrc" ]; thenversion="$(cat "$nvmrc")"nvm use $versionfi}chpwd_functions=(change_node_version)
sh
# Use specific node version, like: 12.10echo "12.10" > .nvmrc# Set latest LTS node version as defaultecho "lts/*" > .nvmrc# Set latest node version as defaultecho "node" > .nvmrc