/dotfiles

:house: Personal dotfiles for *NIX systems

Primary LanguageVim script

Dotfiles

🏠 Personal dotfiles for *NIX (Mac OS X and Linux) systems.

Installation

Clone and Install!

One-liner (if, you trust):

curl -fsSL https://dotfiles.wook.kr/etc/install | bash

An alternative:

git clone --recursive https://github.com/wookayin/dotfiles.git ~/.dotfiles
cd ~/.dotfiles && python install.py

The installation script will create symbolic links for the specified dotfiles. If some target file already exists (e.g. ~/.vim), you will need to manually resolve the conflict (delete the old one or just ignore).

dotfiles

Update (pull the changes from upstream and run install.py again)

$ dotfiles update

This is a clunky installation script written in python; the task definition lies on the top of the script file.

Some Handy URLs

Every file is accessible through dotfiles.wook.kr (via curl -L or wget), e.g.

Troubleshooting

  • If something goes wrong, try dotfiles update to update everything and re-run the installation script again.

    • If you have your own ~/.zshrc, ~/.vimrc, ~/.vim, etc., then they will not be overwritten by default. In such cases you may want to delete those files manually.
  • If you are using neovim and seeing any startup errors (e.g. no module named neovim):

    • Make sure that the neovim pypi package is installed on local python 3 (see g:python3_host_prog).
    • e.g. /usr/local/bin/pip3 install neovim where the path to pip (or pip3) depends on your system.
    • If you are not sure, python3 -m pip install --user neovim will work in any case.
  • Powerline characters are not displayed properly? Install Powerline fonts.

  • Does vim color look weird (e.g. black-and-white)? Check your terminal emulator supports 24-bit color.

  • Does tmux look weird? Make sure that tmux version is 2.3 or higher.

    • If you don't have sudo, you can install it locally by $ dotfiles install tmux.
  • Ruby version is shown unwantedly? A simple workaround might be to install rvm.