3 #fix permissions from git (TODO: 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"
16 [ -L "$1" -o \! -e "$1" ] && ln -sFhvw "$x" "$1"
19 find "$PWD/base" -depth 1 | while read -r x; do
20 l "$HOME/`basename "$x"`"
23 find "$PWD/bin" -depth 1 | while read -r x; do
24 l "$HOME/bin/`basename "$x"`"
26 find "$PWD/xdg" -depth 1 | while read -r x; do
27 l "${XDG_CONFIG_HOME:-$HOME/.config}/`basename "$x"`"
29 mkdir -p "$HOME/.urxvt/ext"
30 find "$PWD/urxvt-ext" -type f -perm -ugo=x -mindepth 1 -maxdepth 2 | while read -r x; do
31 l "$HOME/.urxvt/ext/`basename $x`"
33 touch "$HOME/.hushlogin"
35 #FreeBSD tries `_secure_path' on `.login_conf' before reaading the database,
36 #so it needs to be compiled and unlinked for it to actually take effect.