dotfiles

configuration files
git clone https://pi.duncano.de/git/dotfiles.git
Log | Files | Refs | README

commit fbf6f126f0bcfe0438699279bea69b3e6ae3b262
parent 0edb0fe0fbb578dd043bf1c446f573657b786e7f
Author: Duncaen <mail@duncano.de>
Date:   Sat, 28 Feb 2015 19:03:28 +0100

install.sh: simplify

Diffstat:
install-vim | 17-----------------
install.sh | 19+++++++++++++++++++
2 files changed, 19 insertions(+), 17 deletions(-)

diff --git a/install-vim b/install-vim @@ -1,17 +0,0 @@ -#!/bin/bash - -cd $(dirname $BASH_SOURCE) -BASE=$(pwd) -VIM_RC=~/.vimrc -VIM_DIR=~/.vim - -cp -v "$VIM_RC" "$VIM_RC".old -rm -v "$VIM_RC" -ln -sf $BASE/vimrc "$VIM_RC" - -cp -v -r "$VIM_DIR" "$VIM_DIR".old -rm -v "$VIM_DIR" -ln -sf $BASE/vim "$VIM_DIR" - -# install plugins -vim +PlugInstall +qall diff --git a/install.sh b/install.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +user=duncan +dotfiles=${PWD} + +rm -v /home/$user/.vimrc +ln -sfv $dotfiles/vimrc /home/$user/.vimrc + +rm -v /home/$user/.vim +ln -sfv $dotfiles/vim /home/$user/.vim + +rm -v /home/$user/.xinitrc +ln -sfv $dotfiles/xinitrc /home/$user/.xinitrc + +rm -v /home/$user/.mkshrc +ln -sfv $dotfiles/mkshrc /home/$user/.mkshrc + +# install plugins +# vim +PlugInstall +qall