This repo contains personal configuration files for local development environment
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
red
git clone https://github.com/liuyang1520/configurations.git ~/.liuyang1520-configurations
ln -sf ~/.liuyang1520-configurations/dotfiles/.zshrc.local ~/
if [[ "$(uname -s)" = Darwin ]]; then ln -sf ~/.liuyang1520-configurations/dotfiles/.tmux-osx.conf ~/.tmux.conf; else ln -sf ~/.liuyang1520-configurations/dotfiles/.tmux.conf ~/; fi
ln -sf ~/.liuyang1520-configurations/dotfiles/.vimrc ~/
mkdir -p ~/.config/nvim && ln -sf ~/.liuyang1520-configurations/dotfiles/init.lua ~/.config/nvim/
ln -sf ~/.liuyang1520-configurations/dotfiles/.ctags.d ~/
ln -sf ~/.liuyang1520-configurations/dotfiles/.ignore ~/
echo "source ~/.zshrc.local" >> ~/.zshrc
# Install node, go (optional, needed for some vim plugins)
# Install vim-plug
$ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
$ vim +PlugInstall +PlugClean! +q