From 76235019bd1703c1cba819064cdc7d7438e04e5f Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Thu, 11 Jun 2020 14:06:27 -0400 Subject: [PATCH] Update README for new branches --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d2d61a1..acbfbfd 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Media keys work for backlight, volume, and yakuake drop-down toggle. Alt is mod Easiest installation is to clone repository into home directory - ```bash -git clone -b master --recursive https://github.com/shaunrd0/dot ~/dot +git clone -b debian --recursive https://github.com/shaunrd0/dot ~/dot cd ~/dot/ stow . ``` @@ -17,12 +17,21 @@ stow . If you'd rather clone elsewhere - ```bash -git clone -b master --recursive https://github.com/shaunrd0/dot /path/to/dot +git clone -b debian --recursive https://github.com/shaunrd0/dot /path/to/dot cd /path/to/dot/ stow -t ~ . ``` -Note that the `dot/packages/` directory is for reference and is the only directory included not meant to be used with stow. If this directory is stowed there will be no real change to the system - you will still need to install the package lists manually. +I use the `libclang-10-dev` package for clang completion. You can use whichever version you want, but be sure to set your path accordingly. To use the same version as I do, run `sudo apt install libclang-10-dev` + +In all cases, you will need to run the two commands below or otherwise set the path to `libclang.so.1` on your system. + +``` +echo "export LIBCLANG=\""$(sudo find / -name libclang.so.1)"\"" >> ~/.bash_aliases +echo "let g:clang_library_path=$LIBCLANG" >> ~/.vimrc +``` + +Note that the `dot/packages/` directory is for reference and is the only directory included not meant to be used with stow. If this directory is stowed there will be no real change to the system - you will still need to install the package lists manually. I have started work on automating the restore and backup process but it is not quite finished and not recommended for use at this time. `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.