This post describes how I use dotdrop for managing my dotfiles (.zshrc, .vimrc, .tmux.conf, etc.)

Here is the workflow for installing dotfiles using the dotdrop on a server:

$ git clone --recurse-submodules -j8
$ cd dotfiles
$ sudo pip3 install -r dotdrop/requirements.txt --user
$ ./dotdrop/
# for clusters
$ ./ install -p cluster
# for macOS
$ ./ install -p mac
$ sh ~/.ssh/
  • Tips
    • Install pip3 with sudo apt install python3-pip.
    • If there is an error for docopt, try sudo apt-get install python3-docopt. For macOS, do pip install docopt (use python3 installed from brew or conda. The default python3 does not find docopt installed from the defualt pip3).
    • If the error is about ruamel, try sudo pip3 install ruamel_yaml.
    • If the error is about python-magic, try sudo apt install python3-magic.
  • Useful plugins
    • Install VundleVim with git clone ~/.vim/bundle/Vundle.vim.
    • Install autosuggestion plugin for zsh with git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions.
    • Install syntax highlighting plugin for zsh with git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting.
    • Install my zsh custom theme with git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/spaceship-prompt.

Leave a comment