yarkhinephyo / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles

Environments

Tested on MacOS 10.15, Mac 13.14, Ubuntu 20.04

Setup

  1. Install zsh and set it as the default shell
chsh -s $(which zsh)
  1. Install vim-plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  1. 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
  1. Update the plugins and submodules
source $HOME/.zshrc
update

Only Vim

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

About


Languages

Language:Shell 75.4%Language:Vim Script 24.6%