From d7842c2b96da32bcfb181a88c34a4b67cf6bc815 Mon Sep 17 00:00:00 2001 From: June 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