From 03454613ae2a538ecddf64734e983699443d8be0 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Fri, 15 Sep 2017 11:30:20 -0400 Subject: Rename zsh scripts .zsh --- link.zsh | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 link.zsh (limited to 'link.zsh') diff --git a/link.zsh b/link.zsh new file mode 100755 index 00000000..13bb175b --- /dev/null +++ b/link.zsh @@ -0,0 +1,37 @@ +#!/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 '.psqlrc' +link '.ssh/config' +link '.zshrc' -- cgit 1.4.1 etls/log/VERSION?h=3.5.1&follow=1'>log tree commit diff
path: root/VERSION (unfollow)
Commit message (Expand)Author
2020-10-22Import LibreSSL 3.2.2June McEnroe
2020-09-29Import LibreSSL 3.2.1June McEnroe
2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe
2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe
2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe