mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Merge branch 'master' of https://github.com./Matir/skel
This commit is contained in:
7
dotfiles/ssh/rc
Executable file
7
dotfiles/ssh/rc
Executable 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
|
||||||
@@ -47,8 +47,8 @@ endif
|
|||||||
silent! colorscheme solarized8
|
silent! colorscheme solarized8
|
||||||
" Default ASM syntax for ft support
|
" Default ASM syntax for ft support
|
||||||
let asmsyntax="nasm"
|
let asmsyntax="nasm"
|
||||||
" Allow file modelines
|
" Too risky to allow file modelines
|
||||||
set modeline
|
set nomodeline
|
||||||
" Automatically re-read changed files
|
" Automatically re-read changed files
|
||||||
set autoread
|
set autoread
|
||||||
" fsync() after writing files
|
" fsync() after writing files
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ prerequisites() {
|
|||||||
install_dotfile_dir() {
|
install_dotfile_dir() {
|
||||||
local SRCDIR="${1}"
|
local SRCDIR="${1}"
|
||||||
local dotfile
|
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}' | \
|
awk '{print $2}' | \
|
||||||
while read submod ; do
|
while read submod ; do
|
||||||
echo -n " -o -path ${BASEDIR}/${submod}"
|
echo -n " -o -path ${BASEDIR}/${submod}"
|
||||||
|
|||||||
Reference in New Issue
Block a user