git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.profile
blob: e96906d27976e4ed7ce4348b7321a6e3f32398d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Expectation: .bash_profile exists then this file isn't read at all.
# Reality: well... .profile not being looked at at all _can_ happen.

# Set umask to something world-unreadable in any case
umask 027

# include .bash_profile - if we arrived here at all, it's important to do :-)
if [ -n "$BASH_VERSION" ]; then
	# include .bashrc if it exists
	if [ -f "$HOME/.bash_profile" ]; then
		. "$HOME/.bash_profile"
	fi
fi
lass="w"> checkenv tempdirs tarball removedirs distrib removetar tarball: rsync -avu bin .bash .bash_profile .bashrc .flake8 .gitconfig .gnupg .perlcriticrc .profile .pylintrc .tmux.conf .tmux.conf.local tmux-gpakosz tmux-yank .vimrc --exclude=.git --exclude=.gitattributes --exclude=.github --exclude=.gitignore --exclude='LICENSE*' --exclude='README*' --exclude='*.local' distribute/tar/ tar -C distribute/tar -cvJf dotfiles.tar.xz . rm -rf distribute/tar tempdirs: @mkdir -pv distribute/tar removedirs: rm -rf distribute/tar distrib: checkenv ansible-playbook distrib.yml checkenv: @if [ -z "$$DFDISTRIB" ];then printf "DFDISTRIB not set, cannot determine target.\\n" >&2;exit 101;fi removetar: @rm -vf dotfiles.tar.xz