From 778e97f56d3dcd9f3bb3b69287a0193d35a63b8f Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 14 Mar 2018 00:10:56 -0400 Subject: Combine home-related scripts --- link.zsh | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100755 link.zsh (limited to 'link.zsh') diff --git a/link.zsh b/link.zsh deleted file mode 100755 index b9e08bc7..00000000 --- a/link.zsh +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env zsh -set -o errexit -o nounset -o pipefail - -# Create symbolic links in ~. - -fail() { - echo "$1" - exit 1 -} - -link() { - local source_path="$PWD/home/$1" - local dest_path="$HOME/$1" - - [ -L "$dest_path" ] && return - - mkdir -p "$(dirname "$dest_path")" - ln -s "$source_path" "$dest_path" - echo "$1" -} - -link '.bin/sup' -link '.bin/tup' -link '.bin/up' -link '.config/git/config' -link '.config/git/ignore' -link '.config/htop/htoprc' -link '.config/nvim/colors/trivial.vim' -link '.config/nvim/init.vim' -link '.config/nvim/syntax/nasm.vim' -link '.gdbinit' -link '.gnupg/gpg-agent.conf' -link '.hushlogin' -link '.inputrc' -link '.lldbinit' -link '.psqlrc' -link '.ssh/config' -link '.zshrc' -- cgit 1.4.1