This commit is contained in:
David Tomaschik
2019-06-07 14:04:23 -07:00
3 changed files with 10 additions and 3 deletions

7
dotfiles/ssh/rc Executable file
View File

@@ -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

View File

@@ -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

View File

@@ -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}"