#!/bin/sh for x in `find "$PWD" -mindepth 1 -maxdepth 1 \! \( -name '.git' -name 'install.sh' \) -name '.*'`; do ln -vwis "$x" "$HOME/`basename $x`" done ln -vwis "$PWD/i3-config" "$HOME/.config/i3/config" ln -vwis "$PWD/i3status-config" "$HOME/.config/i3status/config" touch "$HOME/.hushlogin" #fix permissions from git (should probably move this to git hook) chmod go= .zshenv .Xresources # #FreeBSD tries `_secure_path' on `.login_conf' before reaading the database, #so it needs to be compiled and unlinked for it to actually take effect. rm .login_conf.db cap_mkdb .login_conf unlink .login_conf