dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 55bed772063ffdb74dd0e3236bc14cda8282ca01 (patch)
parent a07b773348abe30d019778f766cc6ea2274fb2da
Author: Alex Karle <alex@karle.co>
Date:   Mon, 19 Aug 2019 23:03:13 -0400

bin: add basic install script using dotfiler

I just found myself repeating these commands a lot...

Diffstat:
Ainstall.sh | 21+++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)

diff --git a/install.sh b/install.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash +# simple install via dotfiler +# PREREQS: git + +if ! [ -x "$(command -v git)" ]; then + echo "Error: git is not installed. Aborting..." >&2 + exit 1 +fi + +mkdir -p $HOME/dev/proj + +echo "Installing dotvim -> $HOME/.vim" +git clone --recursive https://github.com/akarle/dotvim $HOME/.vim +echo "Installing dotfiler -> $HOME/dev/proj/dotfiler" +git clone https://github.com/akarle/dotfiler $HOME/dev/proj/dotfiler +echo "Installing dotfiles -> $HOME/dev/dotfiles" +git clone https://github.com/akarle/dotfiles $HOME/dev/dotfiles + +echo "Using dotfiler to link bash (bare minimum)" +PATH=$HOME/dev/proj/dotfiler:$PATH +dotfiler.pl -d $HOME/dev/dotfiles -l bash