stavxyz / dotfiles

write a similar dotfiles.yaml and run ./bin/dotfiles.py link

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

requirements:

homebrew (if mac) vim-plug
python & pip
pyenv

pyenv

https://github.com/pyenv/pyenv/wiki/common-build-problems#prerequisites

sudo apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
# pyenv
curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash

export PATH="/root/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"

pyenv update

# pyenv-virtualenv
git clone https://github.com/pyenv/pyenv-virtualenvwrapper.git $(pyenv root)/plugins/pyenv-virtualenvwrapper \
  && cd $(pyenv root)/plugins/pyenv-virtualenvwrapper && git tag --list && git checkout v20140609 && cd 

vim things

# vim-plug for regular vim
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

# vim-plug for neovim
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

nodejs

https://github.com/mklement0/n-install

curl -L https://git.io/n-install | bash

powerline fonts

From https://github.com/powerline/fonts

# clone
git clone https://github.com/powerline/fonts.git --depth=1 powerline-fonts
# install
cd powerline-fonts
./install.sh
# clean-up a bit
cd ..
rm -rf powerline-fonts

tmuxline

https://github.com/edkolev/tmuxline.vim

setup:

pip install -U -r requirements.txt
./bin/dotfiles.py --debug unlink
./bin/dotfiles.py --debug link

About

write a similar dotfiles.yaml and run ./bin/dotfiles.py link


Languages

Language:Shell 46.2%Language:Python 30.9%Language:Vim Script 22.9%