Use homeshick to manage the dotfiles in the homedirectory:
git clone git://github.com/andsens/homeshick.git $HOME/.homesick/repos/homeshickEnable homeshick script by sourcing it:
# from sh and its derivates (bash, zsh etc.)
printf '\nsource "$HOME/.homesick/repos/homeshick/homeshick.sh"' >> $HOME/.bashrc
# csh and derivatives (i.e. tcsh)
printf '\nalias homeshick source "$HOME/.homesick/repos/homeshick/bin/homeshick.csh"\n' >> $HOME/.cshrc
# fish shell
echo \n'source "$HOME/.homesick/repos/homeshick/homeshick.fish"' >> "$HOME/.config/fish/config.fish"Go to the repos directory and clone the dotfiles repo:
cd $HOME/.homesick/repos/
git clone https://github.com/hthiery/dotfiles.gitEnable dotfiles castle:
homeshick link dotfilesadd the following lines to ~/.bashrc
if [ -e ~/.bash_prompt ]; then
source ~/.bash_prompt
fiExpecte the sources are in c:sources. A NTFS link is used to bring the vim files to the user directory. This has be done with adminstrator rights. Open command line with Start->Run command enter cmd and press CTRL+SHIFT+Enter.
cd c:\\Users\\<USER>
mklink .vimrc c:\\sources\\dotfiles\\.vimrc
mklink /D vimfiles c:\\sources\\dotfiles\\.vimTo update the font cache use:
The debian package fonts-powerline contains the font Inconsolata-dz for Powerline.
apt install fonts-powerlineWith the font-manager the installed fonts can be checked.
apt install font-managerto update the font cache
fc-cache -vf- Inconsolata-dz for Powerline from https://github.com/Lokaltog/powerline-fonts/tree/master/InconsolataDz
To install the submodules configured in .gitsubmodules just execute the following commands after cloning this repo.
git submodule init
git submodule udpate- https://github.com/vim-airline/vim-airline
- https://github.com/majutsushi/tagbar
- https://github.com/kien/ctrlp.vim
- https://github.com/tpope/vim-fugitive
- https://github.com/mfukar/robotframework-vim
- https://github.com/chriskempson/base16-vim
- https://github.com/vim-airline/vim-airline-themes
- https://github.com/scrooloose/nerdtree
- https://github.com/rking/ag.vim
To manage the plugins use vim-plug
You need to install the vim-plug with:
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vimNow the vim plugins can be installed. Start vim and enter:
:PlugInstallTBD
if [ -d ~/dotfiles/base16-shell/ ]; then
BASE16_SHELL="$HOME/dotfiles/base16-shell/base16-bright.dark.sh"
[[ -s $BASE16_SHELL ]] && source $BASE16_SHELL
fi