My Linux dotfiles repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Shaun Reed b5cadab3f6
Merge branch 'master' into headless
2 years ago
.vim Make path to libclang universal, update vimrc 3 years ago
.bash_aliases Change example to libclang-9-dev 3 years ago
.bashrc Basic vim settings, plugins 3 years ago
.gitignore Replace tmux-gitbar with Gitmux 3 years ago
.gitmodules Make path to libclang universal, update vimrc 3 years ago
.vimrc Change example to libclang-9-dev 3 years ago
README.md Reduce the scope of searching for libclang 3 years ago
fix-vbox.sh Make path to libclang universal, update vimrc 3 years ago

README.md

dots

A place for backing up my dotfiles. Be sure to clone recursively if you want to grab updated plugins / submodules included. For example, using Pathogen with Vim to manage plugins requires that the plugin to be installed are cloned to the ~/.vim/bundle/ directory. Cloning recursively allows git to clone these same nested repositories/submodules within this directory so Pathogen can handle running the Vim plugins.

Easiest installation is to clone repository into home directory -

git clone -b headless --recursive https://github.com/shaunrd0/dot ~/dot
cd ~/dot/
stow .

If you'd rather clone elsewhere -

git clone -b headless --recursive https://github.com/shaunrd0/dot /path/to/dot
cd /path/to/dot/
stow -t ~ .

I use the libclang-10-dev package for clang completion. You can use whichever version you want, but to use the same version as I do, run the following commands.

sudo apt install libclang-10-dev
printf "export LIBCLANG=\""$(find /usr/ -name libclang.so.1 2>/dev/null)"\"\n\n" >> .bash_aliases
echo "let g:clang_library_path=$LIBCLANG" >> ~/.vimrc

stow --adopt . can be used to install conflicting files, but doing so will result in the loss of your local configurations. If you want to keep them, back up the conflicting files output in the error message before running this command.

After running stow, be sure to check that your repository is clean. If a file has been modified or deleted, checkout again within the repo and it will immediately be restored on your system as well.

git checkout -- .vimrc
# Or, to step through each change interactively using git..
git checkout -p