Featured image of post How to Install and Configure Zsh and Zim

How to Install and Configure Zsh and Zim

How to install zsh zim on macos & debian

Install and configure zsh zim iterm2 on macos

Install homebrew

1
/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"

Install iterm2

1
brew install --cask iterm2

Install zsh

1
brew install zsh

Install zim

1
curl -fsSL <https://raw.githubusercontent.com/zimfw/install/master/install.zsh> | zsh

Install Powerlevel10k

Add .zimrc

1
zmodule romkatv/powerlevel10k

Change configure with shell script

1
 if [ `grep  -c  "zmodule\ romkatv\/powerlevel10k" ~/.zimrc` -ne '0' ]; then echo "exist"; else echo "not exist"&& echo zmodule\ romkatv/\powerlevel10k >> ~/.zimrc; fi

Install zim modules

1
zimfw install

Install and configure zsh zim on debian 11

Install zsh zimfw

1
2
3
apt install -y zsh curl

curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh

Install module

Edit ~/.zimrc

Add follow text into ~/.zimrc

1
2
3
4
5
# Zim theme
zmodule eriner

#powerlevel10k
zmodule romkatv/powerlevel10k

Install Modules

1
2
3
4
5
6
7
8
9
# Install modules
zimfw install

#update modules
zimfw update


#uninstall modules
# zimfw uninstall xxxx

Reference

Built with Hugo
Theme Stack designed by Jimmy