3 #fix permissions from git (should probably move this to git hook)
4 chmod go= base/.zshenv base/.Xresources
7 alias mkdir="echo mkdir"
10 alias cap_mkdb="echo cap_mkdb"
11 alias unlink="echo unlink"
15 [ -L "$1" -o \! -e "$1" ] && ln -sFhvw "$x" "$1"
18 find "$PWD/base" -depth 1 | while read -r x; do
19 l "$HOME/`basename "$x"`"
21 find "$PWD/xdg" -depth 1 | while read -r x; do
22 l "${XDG_CONFIG_HOME:-$HOME/.config}/`basename "$x"`"
24 mkdir -p "$HOME/.urxvt/ext"
25 find "$PWD/urxvt-ext" -type f -perm -ugo=x -mindepth 1 -maxdepth 2 | while read -r x; do
26 l "$HOME/.urxvt/ext/`basename $x`"
28 touch "$HOME/.hushlogin"
30 #FreeBSD tries `_secure_path' on `.login_conf' before reaading the database,
31 #so it needs to be compiled and unlinked for it to actually take effect.