]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | for x in `find "$PWD" -mindepth 1 -maxdepth 1 \! \( -name '.git' -name 'install.sh' \) -name '.*'`; do | |
3 | ln -vwis "$x" "$HOME/`basename $x`" | |
4 | done | |
5 | ln -vwis "$PWD/i3-config" "$HOME/.config/i3/config" | |
6 | ln -vwis "$PWD/i3status-config" "$HOME/.config/i3status/config" | |
7 | touch "$HOME/.hushlogin" | |
8 | ||
9 | #fix permissions from git (should probably move this to git hook) | |
10 | chmod go= .zshenv .Xresources | |
11 | # | |
12 | #FreeBSD tries `_secure_path' on `.login_conf' before reaading the database, | |
13 | #so it needs to be compiled and unlinked for it to actually take effect. | |
14 | rm .login_conf.db | |
15 | cap_mkdb .login_conf | |
16 | unlink .login_conf |