The instructions below allow you to have the exact same setup as I do.
$ sudo pacman -S zsh
I use zprezto as my configuration framework. It setups some options by default and makes my life easier :).
$ git clone --recursive https://github.com/sorin-ionescu/prezto.git "${XDG_DATA_HOME:-$HOME/.local/share}/zprezto"
$ sudo pacman -S powerline-fonts
$ yay -S ttf-meslo-nerd-font-powerlevel10k
All zsh plugins are installed by zplug, which is a plugin manager. Since zprezto searches for modules under ZPREZTO_HOME/contrib, I have set the 'ZPLUG_REPOS' variable to it so all plugins will be installed and automatically loaded by zprezto.
$ mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}/zprezto/contrib"
$ ZPLUG_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/zplug" curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
Reopen your terminal emulator and install zsh plugins:
$ zplug install
$ sudo pacman -S chezmoi
You will be asked to enter your name, email and your type of computer (desktop or laptop).
With the informations you have entered, chezmoi will be able to setup your
~/.config/git/config
file as well as other files according to your computer.
$ chezmoi init https://github.com/Thynkon/dotfiles.git