Tested on MacOS 10.15, Mac 13.14, Ubuntu 20.04
- Install zsh and set it as the default shell
chsh -s $(which zsh)
- Install vim-plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
- Clone the dotfiles repository
git clone --bare --recursive https://github.com/yarkhinephyo/dotfiles.git $HOME/dotfiles
git --git-dir=$HOME/dotfiles --work-tree=$HOME checkout
- Update the plugins and submodules
source $HOME/.zshrc
update
curl -fLo ~/.vimrc \
https://raw.githubusercontent.com/yarkhinephyo/dotfiles/main/.vimrc && \
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim && \
vim +PlugUpgrade +PlugInstall +PlugUpdate +qa