From 4b37169735cb48cb33f95ca7bd987e9dd9b25120 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Tue, 4 Jun 2019 08:32:15 -0700 Subject: [PATCH 1/3] Fix git submodule call to use BASEDIR. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 72415d0..68af95e 100755 --- a/install.sh +++ b/install.sh @@ -49,7 +49,7 @@ prerequisites() { install_dotfile_dir() { local SRCDIR="${1}" local dotfile - local submodule_prune="$(git submodule status -- "${SRCDIR}" 2>/dev/null | \ + local submodule_prune="$(git -C "${BASEDIR}" submodule status -- "${SRCDIR}" 2>/dev/null | \ awk '{print $2}' | \ while read submod ; do echo -n " -o -path ${BASEDIR}/${submod}" From b1799197fed30dea6b3feb3324f2fdbaf9d88e0c Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Wed, 5 Jun 2019 10:32:14 -0700 Subject: [PATCH 2/3] Set nomodeline. --- dotfiles/vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/vimrc b/dotfiles/vimrc index 49f85c8..a88e97d 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -47,8 +47,8 @@ endif silent! colorscheme solarized8 " Default ASM syntax for ft support let asmsyntax="nasm" -" Allow file modelines -set modeline +" Too risky to allow file modelines +set nomodeline " Automatically re-read changed files set autoread " fsync() after writing files From a5dc6566567f2cbed72d43fc42c1675dea271b2d Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Fri, 7 Jun 2019 10:42:10 -0700 Subject: [PATCH 3/3] Add a symlink for SSH_AUTH_SOCK remotely. --- dotfiles/ssh/rc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 dotfiles/ssh/rc diff --git a/dotfiles/ssh/rc b/dotfiles/ssh/rc new file mode 100755 index 0000000..885b1c2 --- /dev/null +++ b/dotfiles/ssh/rc @@ -0,0 +1,7 @@ +#!/bin/sh + +REMOTE_LINK="${HOME}/.ssh/remote_agent.sock" + +if test \! -L "${REMOTE_LINK}" -a -n "${SSH_AUTH_SOCK}" ; then + ln -sf "${SSH_AUTH_SOCK}" "${REMOTE_LINK}" +fi