Setup is pretty easy but you are required to have a few components installed.
- CMake
- Python
- Vim (7.0+)
- Patched Fonts (provided by
tools/nerd-fonts) - Tidy (found in the
toolsdirectory) - Exuberant CTags
- Zsh
- Pip
- python-dev
- htop
- tmux
- tmuxp
- Install Solarized Dark theme for the terminal (also found in the
toolsdirectory) - joe
- git clone https://github.com/cadyyan/dotfiles.git
- cd dotfiles
- git submodule update --init --recursive --depth 1
- cd tools/nerd-fonts
- ./install.sh
- cd ../gnome-terminal-colors-solarized
- ./install.sh
You can then proceed to make symlinks to any config files you might want.
To setup Vim you must fist symlink the Vim config provided to your home directory.
ln -s /path/to/dotfiles/vimrc ~/.vimrc
Then you must link the provided vim components.
ln -s /path/to/dotfiles/vim ~/.vim
Install all the Vim plugins by running the following command:
vim +PluginInstall +qall
There's some extra work that you'll need to do to setup the YouCompleteMe plugin.
mkdir ~/ycmd
cd ~/ycmd
wget http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
tar xf clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
mv clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04 llvm_root_dir
rm clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
cmake -G "Unix Makefiles" -DPATH_TO_LLVM_ROOT=~/ycmd/llvm_root_dir . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp
make ycm_support_libs
Ensure that zsh is installed then symlink the required files.
ln -s ~/dotfiles/zshrc ~/.zshrc
ln -s ~/dotfiles/oh-my-zsh ~/.zsh
Set the default shell for your user to zsh
sudo chsh -s /bin/zsh <your-username>
Restart your shell session and you should have zsh as your shell with
oh-my-zsh configured.