dotfiles
========
| dotfiles is a repository, that should go into the user's $HOME.
| It features configurations for zsh and many others.
Requirements
------------
Some requirements have to be met to make things work smoothly.
As I'm using |arch_linux|, all links are Arch specific.
zsh
***
I make extensive use of |zsh| whenever I can. The following plugins/extensions are needed for this repository to work.
* |zsh-syntax-highlighting| (|aur|)
* |zsh-completions|
* |zsh-history-substring-search-git| (|aur|)
autorandr
*********
For the screen setup scripts to work |autorandr| is needed.
Installation
------------
If the $HOME is that of a new user, one can simple init an empty repository and set its remote to the correct path:
.. code:: bash
git init
# readonly link
git remote add origin git://sleepmap.de/config/dotfiles
# read/write link
git remote add origin git@sleepmap.de:config/dotfiles
git fetch
git checkout -t origin/master
vim
***
|vim-addon-manager| will install all activated plugins.
While many need customization (which is done in .vimrc), |youcompleteme| needs compilation:
.. code:: bash
cd ~/.vim/vim-addons/github-Valloric-YouCompleteMe.git/
git clean -f
git pull
git submodule update --recursive --init
./install.py --all
Customization
-------------
The git configuration in *.config/git/config* comes with no **[user]** fields set.
Those can be added in a separate *.gitconfig* file, e.g.:
.. code:: ini
[user]
email = your@e-mail.tld
name = Some Name
signingkey = your pgp key
.. |autorandr| raw:: html
autorandr
.. |zsh| raw:: html
zsh
.. |zsh-completions| raw:: html
zsh-completions
.. |zsh-syntax-highlighting| raw:: html
zsh-syntax-highlighting
.. |zsh-history-substring-search-git| raw:: html
zsh-history-substring-search
.. |aur| raw:: html
AUR
.. |arch_linux| raw:: html
Arch Linux
.. |youcompleteme| raw:: html
YouCompleteMe
.. |vim-addon-manager| raw:: html
VAM