From b16cd4fa2f360835c9203edec9905f56d5ccecd3 Mon Sep 17 00:00:00 2001 From: Tristaan Date: Fri, 17 Nov 2017 04:51:04 +0100 Subject: [PATCH] Revert "added install script" This reverts commit bdaa09dbb64819301800059b1e84dc34aba380e1. --- .gitignore | 22 ++++++++++++++++++++++ install.sh | 40 ---------------------------------------- 2 files changed, 22 insertions(+), 40 deletions(-) delete mode 100755 install.sh diff --git a/.gitignore b/.gitignore index e69de29..44e59ab 100755 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,22 @@ +/* +!/.config +!/.i3 +!/.vim +/.vim/bundle +!/.dmrc +!/.gitconfig +!/.gitignore +!/.Xresources +!/color.sh +!/.zsh* +/.zsh_history +!/.oh-my-zsh + +!/.mozilla +/.mozilla/* + +!/.mozilla/firefox +/.mozilla/firefox/* + +!/.mozilla/firefox/chrome +!/.mozilla/firefox/chrome/* diff --git a/install.sh b/install.sh deleted file mode 100755 index 107a854..0000000 --- a/install.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash -# Dotfiles installer -realpath() { - [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}" -} - -safe_link(){ - local src="$1" - local dest="$HOME/`basename $src`" - [ ! -e "$dest" ] && ln -sf "$src" "$dest" -} -if [[ $1== 'initialize' ]]; then - cd ~/build - wget https://aur.archlinux.org/cgit/aur.git/snapshot/yaourt.tar.gz - wget https://aur.archlinux.org/cgit/aur.git/snapshot/package-query.tar.gz - tar -xvf yaourt.tar.gz - tar -xvf package-query.tar.gz - cd package-query - makepkg -sri - cd ../yaourt - makepkg -sri - cd .. - rm -R yaourt* package-query* -fi - -# Get root -SCRIPT_PATH=`realpath $0` -DOTFILES=`dirname $SCRIPT_PATH` - -# Install bin scripts -safe_link "$DOTFILES/bin" - -# Initialize and update submodules (for vim plugins) -git submodule init -git submodule update - -# Install other dotfiles -for f in `ls -A $DOTFILES`; do - safe_link "$DOTFILES/$f" -done