summaryrefslogtreecommitdiff
path: root/dev-env
blob: 2fa9ae22bd65ad8f1481f7c848e3d8a9511ee1c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/zsh

source util

dry="1"
while [[ $# -gt 0 ]]; do
	if [[ "$1" == "--dry" ]]; then
		dry="1"
	fi
	shift
done

#cd $target/dotfiles
log "Copying Scripts"
scripts="$(find ./scripts -maxdepth 1 -mindepth 1 -perm +111 -type f)"
for script in $scripts; do
	log $script
	copy_file "$script" "$target/bin"
done

log "Copying Configs"
copy_dir ".config" $HOME
copy_file ".config/.profile" $HOME
copy_file ".config/.profile" $HOME
copy_file ".config/shells/zsh/.zshrc" $HOME

log "Copying Self to ~/personal/bin"
copy_file dev-env $target/bin