]> git.sev.monster Git - dotfiles.git/blame - install.sh
fixed .config not being added
[dotfiles.git] / install.sh
CommitLineData
189288f7 1#!/bin/sh
d9362f34 2
3#fix permissions from git (should probably move this to git hook)
4chmod go= base/.zshenv base/.Xresources
5
6for x in `find "$PWD/base" -mindepth 1 -maxdepth 1`; do
7f0acd88 7 ln -vwis "$x" "$HOME/`basename $x`"
8done
805ce2dc 9for x in `find "$PWD/xdg" -mindepth 1 -maxdepth 1`; do
10 ln -vwis "$x" "${XDG_CONFIG_HOME:-$HOME/.config}/`basename $x`"
11done
bd6360b9 12touch "$HOME/.hushlogin"
7f0acd88 13
39bd5e00 14#FreeBSD tries `_secure_path' on `.login_conf' before reaading the database,
15#so it needs to be compiled and unlinked for it to actually take effect.
d9362f34 16cd "$HOME"
39bd5e00 17rm .login_conf.db
18cap_mkdb .login_conf
19unlink .login_conf
d9362f34 20cd -
This page took 0.056415 seconds and 4 git commands to generate.