- clone this repo
git clone https://github.com/masbossun/dotfiles $HOME/.dotfiles- set zsh config directory to .dotfiles
echo 'ZDOTDIR="$HOME/.dotfiles"' >> $HOME/.zshenv-
install apps
- neovim >= 0.5
- tmux
- exa
- go
- nvm (nodejs)
- rbenv (ruby)
- pyenv (python)
- ninja
- lua & luarocks
- zsh see install zsh
- oh-my-zsh see install oh-my-zsh
- zsh-syntax-higlighting see install zsh-syntax-higlighting
-
configure symlinks
ln -s $HOME/.dotfiles/.tmux.conf $HOME/.tmux.conf
ln -s $HOME/.dotfiles/.teamocil $HOME/.teamocil- move to .config directory
cp -r ./nvim $HOME/.config/nvim- install neovim packer
git clone https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim- install neovim package, inside neovim run
:PackerInstall- setup language server
cd $HOME/.config/nvim
git clone https://github.com/sumneko/lua-language-server.git
cd lua-language-server
git submodule update --init --recursive
cd 3rd/luamake
compile/install.sh
cd ../..
./3rd/luamake/luamake rebuild- install lua-format
luarocks install --server=https://luarocks.org/dev luaformatter --local- instrall efm-language-server
go get github.com/mattn/efm-langserver- install language server
npm install -g typescript typescript-language-server